summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-17 05:25:21 +0200
committerGitHub <noreply@github.com>2024-04-17 05:25:21 +0200
commit24c997dee169f445548a61a62d1ae38311c3bd84 (patch)
treedea6ebeefbd07d0f687ad0c30f355dd4ba0793c1 /python
parentce7023bea759b44307a78a4b0bab52a9a79ec088 (diff)
parent5ab8f9ac47d9d8d198f5ace0ffc4a0b26af098df (diff)
downloadvyos-1x-24c997dee169f445548a61a62d1ae38311c3bd84.tar.gz
vyos-1x-24c997dee169f445548a61a62d1ae38311c3bd84.zip
Merge pull request #3320 from nicolas-fort/T6191
T6191: do not append action policy route|route6 when its not specified
Diffstat (limited to 'python')
-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)