summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAlex Kudentsov <43482574+alexk37@users.noreply.github.com>2026-03-16 11:06:45 +0700
committerAlex Kudentsov <43482574+alexk37@users.noreply.github.com>2026-03-17 14:02:03 +0700
commit8714825922af321942975d231e6065fb752abb1d (patch)
treec75d52a8200859179187f1d75a51661f2db4f25d /data
parent433f5aea24b415682318bb491f67d35eb03eac75 (diff)
downloadvyos-1x-8714825922af321942975d231e6065fb752abb1d.tar.gz
vyos-1x-8714825922af321942975d231e6065fb752abb1d.zip
T8386: fix locat_ts rendering in remote_access.j2
Diffstat (limited to 'data')
-rw-r--r--data/templates/ipsec/swanctl/remote_access.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/ipsec/swanctl/remote_access.j2 b/data/templates/ipsec/swanctl/remote_access.j2
index 77731e827..639248caf 100644
--- a/data/templates/ipsec/swanctl/remote_access.j2
+++ b/data/templates/ipsec/swanctl/remote_access.j2
@@ -79,7 +79,7 @@
{% endif %}
{% set local_prefix = rw_conf.local.prefix if rw_conf.local.prefix is vyos_defined else ['0.0.0.0/0', '::/0'] %}
{% set local_port = rw_conf.local.port if rw_conf.local.port is vyos_defined else '' %}
-{% set local_suffix = '[%any/{1}]'.format(local_port) if local_port else '' %}
+{% set local_suffix = '[%any/{port}]'.format(port=local_port) if local_port else '' %}
local_ts = {{ local_prefix | join(local_suffix + ",") }}{{ local_suffix }}
{% if rw_conf.bind is vyos_defined %}
{# The key defaults to 0 and will match any policies which similarly do not have a lookup key configuration. #}