diff options
| author | Alex Kudentsov <43482574+alexk37@users.noreply.github.com> | 2026-03-16 11:06:45 +0700 |
|---|---|---|
| committer | Alex Kudentsov <43482574+alexk37@users.noreply.github.com> | 2026-03-17 14:02:03 +0700 |
| commit | 8714825922af321942975d231e6065fb752abb1d (patch) | |
| tree | c75d52a8200859179187f1d75a51661f2db4f25d /data | |
| parent | 433f5aea24b415682318bb491f67d35eb03eac75 (diff) | |
| download | vyos-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.j2 | 2 |
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. #} |
