From 4e452a471fc524f1b4838bbfe0a7a829fd6b9f9b Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Wed, 8 Aug 2018 07:03:25 +0200 Subject: [PATCH] proto/detect: add debug info --- src/app-layer-detect-proto.c | 2 ++ 1 file changed, 2 insertions(+) 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;