summaryrefslogtreecommitdiff
path: root/src/conf_mode/firewall-interface.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-22 08:54:51 +0100
committerGitHub <noreply@github.com>2022-01-22 08:54:51 +0100
commit3b7629eaa4c8b0e4561cdef4b6947f3cf1d4e880 (patch)
tree0db5d7f6ee9f76a26de9f0e6469f784301594894 /src/conf_mode/firewall-interface.py
parentf791d3ef4c33a4175813f0c00c41ae20aaa447d0 (diff)
parent3e55af0ccdf01a7707bd81d7b329f57848e6cd2f (diff)
downloadvyos-1x-3b7629eaa4c8b0e4561cdef4b6947f3cf1d4e880.tar.gz
vyos-1x-3b7629eaa4c8b0e4561cdef4b6947f3cf1d4e880.zip
Merge pull request #1184 from sarthurdev/firewall_icmp
firewall: T4130: T4186: ICMP/v6 updates, ipv6 state policy check fix
Diffstat (limited to 'src/conf_mode/firewall-interface.py')
-rwxr-xr-xsrc/conf_mode/firewall-interface.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/firewall-interface.py b/src/conf_mode/firewall-interface.py
index b0df9dff4..a7442ecbd 100755
--- a/src/conf_mode/firewall-interface.py
+++ b/src/conf_mode/firewall-interface.py
@@ -150,7 +150,7 @@ def apply(if_firewall):
rule_action = 'insert'
rule_prefix = ''
- handle = state_policy_handle('ip filter', chain)
+ handle = state_policy_handle('ip6 filter', ipv6_chain)
if handle:
rule_action = 'add'
rule_prefix = f'position {handle}'