From 9f5e53685966fdb00ee16c90aab2037e6ca48c58 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Wed, 6 Nov 2024 13:15:35 -0600 Subject: [PATCH] ndpi: disable broken debug print statement References fields that don't exist. --- plugins/ndpi/ndpi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/ndpi/ndpi.c b/plugins/ndpi/ndpi.c index 5929f007e276..2484d218003b 100644 --- a/plugins/ndpi/ndpi.c +++ b/plugins/ndpi/ndpi.c @@ -203,9 +203,11 @@ static int DetectnDPIProtocolPacketMatch( r = r ^ data->negated; if (r) { +#if 0 SCLogDebug("ndpi protocol match on protocol = %u.%u (match %u)", flowctx->detected_l7_protocol.app_protocol, flowctx->detected_l7_protocol.master_protocol, data->l7_protocol); +#endif SCReturnInt(1); } SCReturnInt(0);