From: Jason Ish Date: Wed, 15 Jan 2025 16:07:02 +0000 (-0600) Subject: fix: bad variable name in metadata matcher X-Git-Tag: 1.3.5~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11bb633a47fcfd2352e8f2637107909aa64fc182;p=thirdparty%2Fsuricata-update.git fix: bad variable name in metadata matcher --- diff --git a/suricata/update/matchers.py b/suricata/update/matchers.py index ef4c972..4d61289 100644 --- a/suricata/update/matchers.py +++ b/suricata/update/matchers.py @@ -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)