]> git.ipfire.org Git - thirdparty/suricata.git/commit
rules: use primary default-rule-path if set on command line
authorJason Ish <jason.ish@oisf.net>
Wed, 4 May 2022 19:18:09 +0000 (13:18 -0600)
committerVictor Julien <vjulien@oisf.net>
Sat, 21 May 2022 04:53:13 +0000 (06:53 +0200)
commit3ea6572e22d9ffcb26d9d408a91a3c0a5291c847
tree9ed5cc3a7d08263a49ab625cedd2882c5e7dd8e5
parent28ac75b50594f464949c036bbb34ceff759bdc9c
rules: use primary default-rule-path if set on command line

When reloading rules, respect `--set default-rule-path=...` from the
command line if set.

Previously the rule reload would always take the default-rule-path from
the configuration file, even if overrided on the command line.

Issue: #1911
src/detect-engine-loader.c