From bfc871ce852c8942160feb8c1c3641ba04e7c9aa Mon Sep 17 00:00:00 2001 From: DIALLO David Date: Mon, 15 Dec 2014 16:51:11 +0100 Subject: [PATCH] Update AppLayerProtoDetectPrintProbingParsers with Modbus protocol --- src/app-layer-detect-proto.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app-layer-detect-proto.c b/src/app-layer-detect-proto.c index 762d140b11..123b324881 100644 --- a/src/app-layer-detect-proto.c +++ b/src/app-layer-detect-proto.c @@ -685,6 +685,8 @@ void AppLayerProtoDetectPrintProbingParsers(AppLayerProtoDetectProbingParser *pp printf(" alproto: ALPROTO_IRC\n"); else if (pp_pe->alproto == ALPROTO_DNS) printf(" alproto: ALPROTO_DNS\n"); + else if (pp_pe->alproto == ALPROTO_MODBUS) + printf(" alproto: ALPROTO_MODBUS\n"); else printf("impossible\n"); @@ -734,6 +736,8 @@ void AppLayerProtoDetectPrintProbingParsers(AppLayerProtoDetectProbingParser *pp printf(" alproto: ALPROTO_IRC\n"); else if (pp_pe->alproto == ALPROTO_DNS) printf(" alproto: ALPROTO_DNS\n"); + else if (pp_pe->alproto == ALPROTO_MODBUS) + printf(" alproto: ALPROTO_MODBUS\n"); else printf("impossible\n"); -- 2.47.3