summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-04-17 12:54:03 +0200
committerGitHub <noreply@github.com>2024-04-17 12:54:03 +0200
commit0b9d2c64103aa168c72be23ad178026850d9ede5 (patch)
treee92b7ef5183863f3e84529660d5210567c016ede
parent06a08f61abb958b0a932ddd35351cedd02afbe2c (diff)
parent292f4b8efe2a50280469e454c3d1d500f89b1a7b (diff)
downloadvyos-1x-0b9d2c64103aa168c72be23ad178026850d9ede5.tar.gz
vyos-1x-0b9d2c64103aa168c72be23ad178026850d9ede5.zip
Merge pull request #3324 from vyos/mergify/bp/sagitta/pr-3320
T6191: do not append action policy route|route6 when its not specified (backport #3320)
-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)