]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Update AppLayerProtoDetectPrintProbingParsers with Modbus protocol
authorDIALLO David <diallo@et.esiea.fr>
Mon, 15 Dec 2014 15:51:11 +0000 (16:51 +0100)
committerDIALLO David <diallo@et.esiea.fr>
Mon, 15 Dec 2014 15:51:11 +0000 (16:51 +0100)
src/app-layer-detect-proto.c

index 762d140b1111d27cc54502ef148aea884c040fcf..123b3248816fc92afac2516303cd9756db79d3bd 100644 (file)
@@ -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");