diff options
author | Christian Poessinger <christian.poessinger@rohde-schwarz.com> | 2022-01-04 05:11:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 05:11:52 +0100 |
commit | 993b87458456bc6fcbe5aa7fbc7c0c31580032ce (patch) | |
tree | c9ee8b805606ea2b57d7cb6ce13d884d91df2799 /data | |
parent | 5a73c946000902f6e445b0803ca090f7fc6e0954 (diff) | |
parent | 9213d9cc7bcd731baaf606fcdc956764482f45e9 (diff) | |
download | vyos-1x-993b87458456bc6fcbe5aa7fbc7c0c31580032ce.tar.gz vyos-1x-993b87458456bc6fcbe5aa7fbc7c0c31580032ce.zip |
Merge pull request #1130 from sarthurdev/firewall
firewall: T4130: Fix firewall state-policy errors
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/firewall/nftables.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/firewall/nftables.tmpl b/data/templates/firewall/nftables.tmpl index 34bd9b71e..bbb111b1f 100644 --- a/data/templates/firewall/nftables.tmpl +++ b/data/templates/firewall/nftables.tmpl @@ -147,13 +147,13 @@ table ip6 filter { {% if state_policy is defined %} chain VYOS_STATE_POLICY6 { {% if state_policy.established is defined %} - {{ state_policy.established | nft_state_policy('established') }} + {{ state_policy.established | nft_state_policy('established', ipv6=True) }} {% endif %} {% if state_policy.invalid is defined %} - {{ state_policy.invalid | nft_state_policy('invalid') }} + {{ state_policy.invalid | nft_state_policy('invalid', ipv6=True) }} {% endif %} {% if state_policy.related is defined %} - {{ state_policy.related | nft_state_policy('related') }} + {{ state_policy.related | nft_state_policy('related', ipv6=True) }} {% endif %} return } |