summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2022-01-21 13:09:32 +0100
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2022-01-21 17:29:06 +0100
commit958c887f9c014ccc5e881b751d4eb82c62b4cb9f (patch)
treea82da30bd9292b4286d24c9906e87737172e1185
parentd1d0150b6a40252700181530ca87c5699a4bd0b4 (diff)
downloadvyos-1x-958c887f9c014ccc5e881b751d4eb82c62b4cb9f.tar.gz
vyos-1x-958c887f9c014ccc5e881b751d4eb82c62b4cb9f.zip
firewall: T4130: Use correct table to check for state policy rule
-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}'