From 5ab8f9ac47d9d8d198f5ace0ffc4a0b26af098df 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 --- 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