]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
parse: Improve unknown protocol parse message
authorJeff Lucovsky <jeff@lucovsky.org>
Tue, 26 Mar 2019 21:32:52 +0000 (14:32 -0700)
committerVictor Julien <victor@inliniac.net>
Mon, 8 Apr 2019 10:13:02 +0000 (12:13 +0200)
The message associated with unknown protocols during parsing is incomplete.
This commit improves the message readability.

src/detect-parse.c

index 83aebd40d9c117cc75795e3b90fd4587997d0608..4786da53dc2eb15dc4c860ccb75102640a33615c 100644 (file)
@@ -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);