summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-03 19:55:23 +0100
committerChristian Poessinger <christian@poessinger.com>2021-11-03 19:57:48 +0100
commit8ec9a2dc7c149a7565e4e9823a8ccfc3bba3bce4 (patch)
tree93218c39bfe3e525446bb1cb881fff18e5dbd235 /data/templates
parent2ed561e249e7f44d1269879bcf55cb83aee2324a (diff)
downloadvyos-1x-8ec9a2dc7c149a7565e4e9823a8ccfc3bba3bce4.tar.gz
vyos-1x-8ec9a2dc7c149a7565e4e9823a8ccfc3bba3bce4.zip
sstp: T2566: use XML defaultValue over Jinja2 hardcoded value
(cherry picked from commit 01ed77040ec9493e4ca1cf868ff3c22847da4487)
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/accel-ppp/config_ipv6_pool.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/config_ipv6_pool.j2 b/data/templates/accel-ppp/config_ipv6_pool.j2
index 093887f7e..f45bf9442 100644
--- a/data/templates/accel-ppp/config_ipv6_pool.j2
+++ b/data/templates/accel-ppp/config_ipv6_pool.j2
@@ -5,7 +5,7 @@ AdvAutonomousFlag=1
{% if client_ipv6_pool.prefix is defined and client_ipv6_pool.prefix is not none %}
[ipv6-pool]
{% for prefix, options in client_ipv6_pool.prefix.items() %}
-{{ prefix }},{{ '64 ' if options.mask is not defined else options.mask }}
+{{ prefix }},{{ options.mask }}
{% endfor %}
{% if client_ipv6_pool.delegate is defined and client_ipv6_pool.delegate is not none %}
{% for prefix, options in client_ipv6_pool.delegate.items() %}