diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2022-06-14 16:19:55 +0200 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2022-06-14 22:57:52 +0200 |
commit | 7e59b2a3f31edd4793264876d87af725771a222d (patch) | |
tree | 5f400fd788bd04a5e0bde9c98b04a436fe998de2 /python | |
parent | 34db435e7a74ee8509777802e03927de2dd57627 (diff) | |
download | vyos-1x-7e59b2a3f31edd4793264876d87af725771a222d.tar.gz vyos-1x-7e59b2a3f31edd4793264876d87af725771a222d.zip |
firewall: T970: Use set prefix to domain groups
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/firewall.py | 2 |
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 = '' |