diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2022-01-21 13:09:32 +0100 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2022-01-21 17:29:06 +0100 |
commit | 958c887f9c014ccc5e881b751d4eb82c62b4cb9f (patch) | |
tree | a82da30bd9292b4286d24c9906e87737172e1185 /src | |
parent | d1d0150b6a40252700181530ca87c5699a4bd0b4 (diff) | |
download | vyos-1x-958c887f9c014ccc5e881b751d4eb82c62b4cb9f.tar.gz vyos-1x-958c887f9c014ccc5e881b751d4eb82c62b4cb9f.zip |
firewall: T4130: Use correct table to check for state policy rule
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/firewall-interface.py | 2 |
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}' |