From 459c7079bebe7059d90441a5014d948a92d2ee19 Mon Sep 17 00:00:00 2001 From: sarthurdev <965089+sarthurdev@users.noreply.github.com> Date: Tue, 4 Jan 2022 20:11:31 +0100 Subject: firewall: zone-policy: T2199: T4130: Fixes for firewall, state-policy and zone-policy --- python/vyos/template.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'python') diff --git a/python/vyos/template.py b/python/vyos/template.py index 7671bf377..6f65c6c98 100644 --- a/python/vyos/template.py +++ b/python/vyos/template.py @@ -526,11 +526,7 @@ def nft_state_policy(conf, state, ipv6=False): out.append('counter') if 'action' in conf: - if conf['action'] == 'accept': - jump_target = 'VYOS_POST_FW6' if ipv6 else 'VYOS_POST_FW' - out.append(f'jump {jump_target}') - else: - out.append(conf['action']) + out.append(conf['action']) return " ".join(out) -- cgit v1.2.3