summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2022-10-07 20:48:13 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2022-10-09 22:15:21 +0200
commit9ab63d484741b513894f16e4925f164f0264789c (patch)
tree8d69bf3d2ffff17534d6d2226c6a105bfe4998bb /data
parentbb4901773df9682b67081dda5baf0cb39c742d1e (diff)
downloadvyos-1x-9ab63d484741b513894f16e4925f164f0264789c.tar.gz
vyos-1x-9ab63d484741b513894f16e4925f164f0264789c.zip
firewall: T3907: Fix firewall state-policy logging
When log-level was introduced node `state-policy x log` was removed without migrator. This commit adds it back and improves log handling.
Diffstat (limited to 'data')
-rw-r--r--data/templates/firewall/nftables.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/firewall/nftables.j2 b/data/templates/firewall/nftables.j2
index 9d609f73f..a0f0b8c11 100644
--- a/data/templates/firewall/nftables.j2
+++ b/data/templates/firewall/nftables.j2
@@ -204,13 +204,13 @@ table ip6 vyos_filter {
{% if state_policy is vyos_defined %}
chain VYOS_STATE_POLICY6 {
{% if state_policy.established is vyos_defined %}
- {{ state_policy.established | nft_state_policy('established', ipv6=True) }}
+ {{ state_policy.established | nft_state_policy('established') }}
{% endif %}
{% if state_policy.invalid is vyos_defined %}
- {{ state_policy.invalid | nft_state_policy('invalid', ipv6=True) }}
+ {{ state_policy.invalid | nft_state_policy('invalid') }}
{% endif %}
{% if state_policy.related is vyos_defined %}
- {{ state_policy.related | nft_state_policy('related', ipv6=True) }}
+ {{ state_policy.related | nft_state_policy('related') }}
{% endif %}
return
}