summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-11-16 15:37:56 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2023-11-16 21:14:55 +0000
commit2dc2df575bc4de60759a272f5e6880326501a7ef (patch)
treebddfd01ad32d64a00af56ee1b77799ee38494ec1 /python
parentc1754c4c0610824d54d03b5408ade26112bd643f (diff)
downloadvyos-1x-2dc2df575bc4de60759a272f5e6880326501a7ef.tar.gz
vyos-1x-2dc2df575bc4de60759a272f5e6880326501a7ef.zip
T4072: firewall: backport bridge firewall to sagitta
Diffstat (limited to 'python')
-rw-r--r--python/vyos/firewall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/firewall.py b/python/vyos/firewall.py
index 06b58d4ed..8ae269fed 100644
--- a/python/vyos/firewall.py
+++ b/python/vyos/firewall.py
@@ -438,7 +438,7 @@ def parse_rule(rule_conf, hook, fw_name, rule_id, ip_name):
else:
output.append('return')
- output.append(f'comment "{hook}-{fw_name}-{rule_id}"')
+ output.append(f'comment "{family}-{hook}-{fw_name}-{rule_id}"')
return " ".join(output)
def parse_tcp_flags(flags):