diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-27 15:22:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-27 15:22:18 +0100 |
commit | 7324edfeb7ededc888a23bf72562673da2797f16 (patch) | |
tree | b2eaf944903a738093f0424a28007a0389eec3c0 /python | |
parent | b86f13a1e41513c929acffdb693b358b42b234af (diff) | |
parent | 53a48f499ae9bcc2f657136bb7779b38aad1c242 (diff) | |
download | vyos-1x-7324edfeb7ededc888a23bf72562673da2797f16.tar.gz vyos-1x-7324edfeb7ededc888a23bf72562673da2797f16.zip |
Merge pull request #2651 from indrajitr/firewal-rename-enable-default-log
firewall: T5834: Rename 'enable-default-log' to 'default-log'
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/template.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/template.py b/python/vyos/template.py index f0a50e728..77b6a5ab0 100644 --- a/python/vyos/template.py +++ b/python/vyos/template.py @@ -584,7 +584,7 @@ def nft_default_rule(fw_conf, fw_name, family): default_action = fw_conf['default_action'] #family = 'ipv6' if ipv6 else 'ipv4' - if 'enable_default_log' in fw_conf: + if 'default_log' in fw_conf: action_suffix = default_action[:1].upper() output.append(f'log prefix "[{family}-{fw_name[:19]}-default-{action_suffix}]"') |