From: Jeff Lucovsky Date: Tue, 26 Mar 2019 21:32:52 +0000 (-0700) Subject: parse: Improve unknown protocol parse message X-Git-Tag: suricata-5.0.0-beta1~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03b0e4272b2a278c2021a44e12125f3a5569b2b5;p=thirdparty%2Fsuricata.git parse: Improve unknown protocol parse message The message associated with unknown protocols during parsing is incomplete. This commit improves the message readability. --- diff --git a/src/detect-parse.c b/src/detect-parse.c index 83aebd40d9..4786da53dc 100644 --- a/src/detect-parse.c +++ b/src/detect-parse.c @@ -817,7 +817,7 @@ static int SigParseProto(Signature *s, const char *protostr) else { SCLogError(SC_ERR_UNKNOWN_PROTOCOL, "protocol \"%s\" cannot be used " "in a signature. Either detection for this protocol " - "supported yet OR detection has been disabled for " + "is not yet supported OR detection has been disabled for " "protocol through the yaml option " "app-layer.protocols.%s.detection-enabled", protostr, protostr);