parse: Improve unknown protocol parse message

The message associated with unknown protocols during parsing is incomplete.
This commit improves the message readability.
pull/3783/head
Jeff Lucovsky 7 years ago committed by Victor Julien
parent 9856c5533a
commit 03b0e4272b

@ -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);

Loading…
Cancel
Save