From: Eric Leblond Date: Tue, 9 Jun 2015 13:50:31 +0000 (+0200) Subject: app-layer: add modbus to AppProtoToString X-Git-Tag: suricata-3.0RC1~321 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0bafc71689b8510e9724ee565f008f16b824fe35;p=thirdparty%2Fsuricata.git app-layer: add modbus to AppProtoToString It was missing causing protocol identified as modbus not to be displayed in netflow events. --- diff --git a/src/app-layer-protos.c b/src/app-layer-protos.c index fd87412571..1abf295e18 100644 --- a/src/app-layer-protos.c +++ b/src/app-layer-protos.c @@ -71,6 +71,9 @@ const char *AppProtoToString(AppProto alproto) case ALPROTO_DNS: proto_name = "dns"; break; + case ALPROTO_MODBUS: + proto_name = "modbus"; + break; case ALPROTO_FAILED: #ifdef UNITTESTS case ALPROTO_TEST: