]> git.ipfire.org Git - thirdparty/suricata.git/commit
threshold: fix regex to accept by_both and by_rule 7603/head
authorPhilippe Antoine <contact@catenacyber.fr>
Thu, 28 Apr 2022 14:24:46 +0000 (16:24 +0200)
committerVictor Julien <vjulien@oisf.net>
Fri, 1 Jul 2022 15:04:08 +0000 (17:04 +0200)
commita2f857ed900fcefdb775203825a262f4f1ed3343
treebcae5e1253a65cdb92ecb1200337bd62e0434e3d
parent1621f5e453370fca9553c2468a8e8f9e985c1879
threshold: fix regex to accept by_both and by_rule

As is done in detect-threshold.c or in DETECT_RATE_REGEX
and is expected by switch (rule_type) which makes the same
for THRESHOLD_TYPE_THRESHOLD and THRESHOLD_TYPE_RATE

Ticket: #5327
src/util-threshold-config.c