Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rules: use primary default-rule-path if set on command line #7376

Closed
wants to merge 1 commit into from

Conversation

jasonish
Copy link
Member

@jasonish jasonish commented May 4, 2022

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.

This is a rather narrow fix for the broader issue discussed in issue 1911, but
I think thats better suited for a much larger fix, which I've started to
discuss in https://redmine.openinfosecfoundation.org/issues/4782.

Issue: https://redmine.openinfosecfoundation.org/issues/1911

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: OISF#1911
@jasonish jasonish requested a review from a team as a code owner May 4, 2022 21:10
@suricata-qa
Copy link

ERROR:

ERROR: QA failed on tlpw1_files_sha256.

field test baseline %
tlpr1_stats_chk
.app_layer.error.ftp-data.parser 0 395 0.0%

Pipeline 7312

@victorjulien
Copy link
Member

Fixed up clang-format in staging.

@victorjulien
Copy link
Member

Merged as part of #7423

@jasonish jasonish deleted the issue-1911-reload-with-set/v1 branch January 31, 2023 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants