diff options
author | Christian Breunig <christian@breunig.cc> | 2023-11-15 12:47:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-15 12:47:49 +0100 |
commit | 5ea97243eb50c48520b8210e47c161637691a365 (patch) | |
tree | a1c59e3c1f377c77f6dd6c75c2b7da1187f01ec8 /src/conf_mode | |
parent | fa92cbea9ab4802554da8b02814626b6510260d2 (diff) | |
parent | 9e053268355f16b9aba6a551febc1e8902cf20c9 (diff) | |
download | vyos-1x-5ea97243eb50c48520b8210e47c161637691a365.tar.gz vyos-1x-5ea97243eb50c48520b8210e47c161637691a365.zip |
Merge pull request #2478 from nicolas-fort/T5729-Sagitta
T5729: firewall: multiple backports
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/firewall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/firewall.py b/src/conf_mode/firewall.py index da22fad68..c4974d249 100755 --- a/src/conf_mode/firewall.py +++ b/src/conf_mode/firewall.py @@ -249,7 +249,7 @@ def verify_rule(firewall, rule_conf, ipv6): raise ConfigError(f'{side} port-group and port cannot both be defined') if 'log_options' in rule_conf: - if 'log' not in rule_conf or 'enable' not in rule_conf['log']: + if 'log' not in rule_conf: raise ConfigError('log-options defined, but log is not enable') if 'snapshot_length' in rule_conf['log_options'] and 'group' not in rule_conf['log_options']: |