diff options
author | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-12-18 02:45:12 -0600 |
---|---|---|
committer | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-12-26 16:28:25 -0600 |
commit | 245e758aa2ea8779186d0c92d79d33170d036992 (patch) | |
tree | 7bc53533d3f4f0e4913e80958edd26663d3e0b4f /python/vyos | |
parent | b86f13a1e41513c929acffdb693b358b42b234af (diff) | |
download | vyos-1x-245e758aa2ea8779186d0c92d79d33170d036992.tar.gz vyos-1x-245e758aa2ea8779186d0c92d79d33170d036992.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.
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 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}]"') |