diff options
author | Nicolas Fort <nicolasfort1988@gmail.com> | 2024-04-16 17:40:54 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-17 03:26:07 +0000 |
commit | 292f4b8efe2a50280469e454c3d1d500f89b1a7b (patch) | |
tree | e92b7ef5183863f3e84529660d5210567c016ede /python | |
parent | 06a08f61abb958b0a932ddd35351cedd02afbe2c (diff) | |
download | vyos-1x-292f4b8efe2a50280469e454c3d1d500f89b1a7b.tar.gz vyos-1x-292f4b8efe2a50280469e454c3d1d500f89b1a7b.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
(cherry picked from commit 5ab8f9ac47d9d8d198f5ace0ffc4a0b26af098df)
Diffstat (limited to 'python')
-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) |