]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/threshold: Don't allow duplicates
authorJeff Lucovsky <jeff@lucovsky.org>
Wed, 4 Mar 2020 14:35:54 +0000 (09:35 -0500)
committerJeff Lucovsky <jeff@lucovsky.org>
Wed, 8 Apr 2020 12:42:54 +0000 (08:42 -0400)
commit90de3c62cc35752aaca68f906e0fa6064e9b8daa
tree46aa7fcd0a0ae8a0f248b50fab3027677ee4ad93
parent16fda46bf705538cf84d872d17ebdac0da20b91e
detect/threshold: Don't allow duplicates

This commit detects duplicate threshold rule options. When duplicates
are found in a rule, an error message is displayed and the rule is
rejected.

(cherry picked from commit ff9a01ee1b63452d1b047f9bcc7522e3ab1eda10)
src/detect-threshold.c