From: DIALLO David Date: Mon, 15 Dec 2014 15:51:11 +0000 (+0100) Subject: Update AppLayerProtoDetectPrintProbingParsers with Modbus protocol X-Git-Tag: suricata-2.1beta3~97 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bfc871ce852c8942160feb8c1c3641ba04e7c9aa;p=thirdparty%2Fsuricata.git Update AppLayerProtoDetectPrintProbingParsers with Modbus protocol --- 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");