summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2024-04-16 17:40:54 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2024-04-16 17:40:54 +0000
commit5ab8f9ac47d9d8d198f5ace0ffc4a0b26af098df (patch)
treed3db1fc4ad908bb1fb8b1e39774f7a2491988a36 /python/vyos
parent6825873bd1e835836259094a5a7d666be8f0be6e (diff)
downloadvyos-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')
-rw-r--r--python/vyos/firewall.py3
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)