]> git.ipfire.org Git - thirdparty/suricata-update.git/commitdiff
rule parsing: don't warn if no msg present 5/head
authorJason Ish <ish@unx.ca>
Fri, 3 Nov 2017 13:36:14 +0000 (07:36 -0600)
committerJason Ish <ish@unx.ca>
Fri, 3 Nov 2017 14:06:41 +0000 (08:06 -0600)
suricata/update/rule.py

index e7c1560098d3bafc3d16be73f466893a6cd11fb2..d9be2b38c3f483ab4311c8921b133b1c7748992d 100644 (file)
@@ -265,7 +265,6 @@ def parse(buf, group=None):
             rule[name] = val
 
     if rule["msg"] is None:
-        logger.warn("Rule has no \"msg\": %s" % (buf.strip()))
         rule["msg"] = ""
 
     rule["raw"] = m.group("raw").strip()