diff options
author | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-12-18 02:45:12 -0600 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-12-30 20:31:55 +0100 |
commit | 2c8e41465ee3e4ee8fe5048df3265c7b10ee3b91 (patch) | |
tree | ce446c4ac58c5a5b293b4d33c4d1584374197cca /python/vyos | |
parent | 74e749be2e4b0ce7da259c84535dff6ba1d072cf (diff) | |
download | vyos-1x-2c8e41465ee3e4ee8fe5048df3265c7b10ee3b91.tar.gz vyos-1x-2c8e41465ee3e4ee8fe5048df3265c7b10ee3b91.zip |
firewall: T5834: Rename 'enable-default-log' to 'default-log'
Rename chain level defaults log option from `enable-default-log` to
`default-log` for consistency.
(cherry picked from commit 245e758aa2ea8779186d0c92d79d33170d036992)
Diffstat (limited to 'python/vyos')
-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 119ea54d6..b65386654 100644 --- a/python/vyos/template.py +++ b/python/vyos/template.py @@ -579,7 +579,7 @@ def nft_default_rule(fw_conf, fw_name, ipv6=False): 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}]"') |