summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2022-06-14 16:19:55 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2022-06-14 22:57:52 +0200
commit7e59b2a3f31edd4793264876d87af725771a222d (patch)
tree5f400fd788bd04a5e0bde9c98b04a436fe998de2 /python/vyos
parent34db435e7a74ee8509777802e03927de2dd57627 (diff)
downloadvyos-1x-7e59b2a3f31edd4793264876d87af725771a222d.tar.gz
vyos-1x-7e59b2a3f31edd4793264876d87af725771a222d.zip
firewall: T970: Use set prefix to domain groups
Diffstat (limited to 'python/vyos')
-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 f8f913944..7d1278d0e 100644
--- a/python/vyos/firewall.py
+++ b/python/vyos/firewall.py
@@ -200,7 +200,7 @@ def parse_rule(rule_conf, fw_name, rule_id, ip_name):
if group_name[0] == '!':
operator = '!='
group_name = group_name[1:]
- output.append(f'{ip_name} {prefix}addr {operator} @{group_name}')
+ output.append(f'{ip_name} {prefix}addr {operator} @D_{group_name}')
elif 'network_group' in group:
group_name = group['network_group']
operator = ''