summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-10-10 08:52:37 +0200
committerGitHub <noreply@github.com>2022-10-10 08:52:37 +0200
commit8bd4c4136a248eebdd6d59f8132d394cc1033c29 (patch)
tree7e73625589fe055f43fcb3d7c6de89be31463dc7 /data
parent72c97ec2cb868b6208621566678dd42791e8e5c7 (diff)
parent9ab63d484741b513894f16e4925f164f0264789c (diff)
downloadvyos-1x-8bd4c4136a248eebdd6d59f8132d394cc1033c29.tar.gz
vyos-1x-8bd4c4136a248eebdd6d59f8132d394cc1033c29.zip
Merge pull request #1575 from sarthurdev/firewall_state_log
firewall: T3907: Fix firewall state-policy logging
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
}