summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAlex Kudentsov <43482574+alexk37@users.noreply.github.com>2026-03-16 11:57:33 +0700
committerAlex Kudentsov <43482574+alexk37@users.noreply.github.com>2026-03-16 12:11:51 +0700
commit032f7ac571f2a63833eb493202549ae1c9061cac (patch)
tree49d4668d42f66f4575670efa6aaadefc5a11cf99 /python
parent433f5aea24b415682318bb491f67d35eb03eac75 (diff)
downloadvyos-1x-032f7ac571f2a63833eb493202549ae1c9061cac.tar.gz
vyos-1x-032f7ac571f2a63833eb493202549ae1c9061cac.zip
T8387: fix hardcoded saddr in add-address-to-group
Diffstat (limited to 'python')
-rwxr-xr-xpython/vyos/firewall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/firewall.py b/python/vyos/firewall.py
index 0025ed98a..04e59eb25 100755
--- a/python/vyos/firewall.py
+++ b/python/vyos/firewall.py
@@ -555,7 +555,7 @@ def parse_rule(rule_conf, hook, fw_name, rule_id, ip_name):
timeout_value = side_conf['timeout']
output.append(f'set update ip{def_suffix} {prefix}addr timeout {timeout_value} @DA{def_suffix}_{dyn_group}')
else:
- output.append(f'set update ip{def_suffix} saddr @DA{def_suffix}_{dyn_group}')
+ output.append(f'set update ip{def_suffix} {prefix}addr @DA{def_suffix}_{dyn_group}')
set_table = False
if 'set' in rule_conf: