diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-03 19:55:23 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-03 19:57:48 +0100 |
commit | 8ec9a2dc7c149a7565e4e9823a8ccfc3bba3bce4 (patch) | |
tree | 93218c39bfe3e525446bb1cb881fff18e5dbd235 /data/templates | |
parent | 2ed561e249e7f44d1269879bcf55cb83aee2324a (diff) | |
download | vyos-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.j2 | 2 |
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() %} |