Skip to content

Commit

Permalink
ndpi: disable broken debug print statement
Browse files Browse the repository at this point in the history
References fields that don't exist.
  • Loading branch information
jasonish committed Nov 6, 2024
1 parent e2a3111 commit 9f5e536
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/ndpi/ndpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9f5e536

Please sign in to comment.