]> git.ipfire.org Git - thirdparty/suricata.git/commit
rules: use primary default-rule-path if set on command line 10313/head 10323/head
authorJason Ish <jason.ish@oisf.net>
Wed, 4 May 2022 19:18:09 +0000 (13:18 -0600)
committerJeff Lucovsky <jlucovsky@oisf.net>
Mon, 5 Feb 2024 13:37:17 +0000 (08:37 -0500)
commit39570d8d0500a4a5fe8a9e9bc1aef406e8a7d4f4
tree43d3a9103e4d17af5d8a5be5bb6f85afe31c5768
parenta31ff846ec53a4609cc3160db99721dc7bcfda44
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
(cherry picked from commit 3ea6572e22d9ffcb26d9d408a91a3c0a5291c847)
src/detect-engine-loader.c