proto/detect: add debug info

pull/3449/head
Victor Julien 7 years ago
parent 5a8779cfc0
commit 4e452a471f

@ -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;

Loading…
Cancel
Save