From: Victor Julien Date: Wed, 8 Aug 2018 05:03:25 +0000 (+0200) Subject: proto/detect: add debug info X-Git-Tag: suricata-4.1.0-rc2~151 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e452a471fc524f1b4838bbfe0a7a829fd6b9f9b;p=thirdparty%2Fsuricata.git proto/detect: add debug info --- diff --git a/src/app-layer-detect-proto.c b/src/app-layer-detect-proto.c index 3a976c63fc..a473a37dd7 100644 --- a/src/app-layer-detect-proto.c +++ b/src/app-layer-detect-proto.c @@ -1353,6 +1353,8 @@ AppProto AppLayerProtoDetectGetProto(AppLayerProtoDetectThreadCtx *tctx, uint8_t ipproto, uint8_t direction) { SCEnter(); + SCLogDebug("buflen %u for %s direction", buflen, + (direction & STREAM_TOSERVER) ? "toserver" : "toclient"); AppProto alproto = ALPROTO_UNKNOWN;