From 292f4b8efe2a50280469e454c3d1d500f89b1a7b Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Tue, 16 Apr 2024 17:40:54 +0000 Subject: T6191: do not append action to firewall and policy route|route6 when its not specified, in order to ensure same behavior as in Equuleus (cherry picked from commit 5ab8f9ac47d9d8d198f5ace0ffc4a0b26af098df) --- python/vyos/firewall.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'python') diff --git a/python/vyos/firewall.py b/python/vyos/firewall.py index 946050a82..d9d605a9d 100644 --- a/python/vyos/firewall.py +++ b/python/vyos/firewall.py @@ -488,9 +488,6 @@ def parse_rule(rule_conf, hook, fw_name, rule_id, ip_name): if synproxy_ws: output.append(f'wscale {synproxy_ws} timestamp sack-perm') - else: - output.append('return') - output.append(f'comment "{family}-{hook}-{fw_name}-{rule_id}"') return " ".join(output) -- cgit v1.2.3