]> git.ipfire.org Git - thirdparty/suricata-update.git/commitdiff
fix: bad variable name in metadata matcher
authorJason Ish <jason.ish@oisf.net>
Wed, 15 Jan 2025 16:07:02 +0000 (10:07 -0600)
committerJason Ish <jason.ish@oisf.net>
Tue, 8 Apr 2025 22:16:09 +0000 (16:16 -0600)
suricata/update/matchers.py

index ef4c972c2ac3440f5965c46392296d5e1cbb2cbc..4d61289e5b2cdcf53052744b4682eb7153a76994 100644 (file)
@@ -317,7 +317,7 @@ class AddMetadataFilter(object):
             raise Exception("metadata-add: invalid number of arguments")
         matcher = parse_rule_match(match_string)
         if not matcher:
-            raise Exception("Bad match string: %s" % (matchstring))
+            raise Exception("Bad match string: %s" % (match_string))
         return cls(matcher, key, val)