mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
Only set the state of a used rulefile to "on" if it is present in the %idsrules hash. This happens if it contains at least one rule. This prevents from showing a rulefile in the ruleset section if, it does not exist anymore or does not contains any rules at all. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>