diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-04-17 12:54:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-17 12:54:03 +0200 |
commit | 0b9d2c64103aa168c72be23ad178026850d9ede5 (patch) | |
tree | e92b7ef5183863f3e84529660d5210567c016ede | |
parent | 06a08f61abb958b0a932ddd35351cedd02afbe2c (diff) | |
parent | 292f4b8efe2a50280469e454c3d1d500f89b1a7b (diff) | |
download | vyos-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.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) |