]> git.ipfire.org Git - thirdparty/suricata.git/commit
exceptions: error out when invalid policy is used 7773/head
authorJuliana Fajardini <jufajardini@oisf.net>
Wed, 24 Aug 2022 20:36:47 +0000 (17:36 -0300)
committerVictor Julien <vjulien@oisf.net>
Thu, 25 Aug 2022 20:30:54 +0000 (22:30 +0200)
commit58ef3cde7a01166a1ae56b814156e2cad02e1251
tree89b4e8cbe5855d582ddf492c8f7d558073f94f51
parent61b73416e27a07cab50743d69c1cf5cd7f07b45d
exceptions: error out when invalid policy is used

Before, if an invalid value was passed as exception policy, Suricata
would log a warning and set the exception policy to "ignore". This is a
very different result, than, say, dropping or bypassing a midstream flow.

Task #5504
src/util-exception-policy.c