diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-17 05:25:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-17 05:25:21 +0200 |
commit | 24c997dee169f445548a61a62d1ae38311c3bd84 (patch) | |
tree | dea6ebeefbd07d0f687ad0c30f355dd4ba0793c1 /python | |
parent | ce7023bea759b44307a78a4b0bab52a9a79ec088 (diff) | |
parent | 5ab8f9ac47d9d8d198f5ace0ffc4a0b26af098df (diff) | |
download | vyos-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.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) |