diff options
author | Nicolas Fort <nicolasfort1988@gmail.com> | 2024-04-16 17:40:54 +0000 |
---|---|---|
committer | Nicolas Fort <nicolasfort1988@gmail.com> | 2024-04-16 17:40:54 +0000 |
commit | 5ab8f9ac47d9d8d198f5ace0ffc4a0b26af098df (patch) | |
tree | d3db1fc4ad908bb1fb8b1e39774f7a2491988a36 /python/vyos/firewall.py | |
parent | 6825873bd1e835836259094a5a7d666be8f0be6e (diff) | |
download | vyos-1x-5ab8f9ac47d9d8d198f5ace0ffc4a0b26af098df.tar.gz vyos-1x-5ab8f9ac47d9d8d198f5ace0ffc4a0b26af098df.zip |
T6191: do not append action to firewall and policy route|route6 when its not specified, in order to ensure same behavior as in Equuleus
Diffstat (limited to 'python/vyos/firewall.py')
-rw-r--r-- | python/vyos/firewall.py | 3 |
1 files changed, 0 insertions, 3 deletions
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) |