summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/config_ipv6_pool.j2
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-03 19:30:18 +0100
committerGitHub <noreply@github.com>2021-11-03 19:30:18 +0100
commit7a7233a5289590671c6817bfb3233da2f29f358f (patch)
treef3d946c89b0bbaaf8dacf823072304ecab7923e0 /data/templates/accel-ppp/config_ipv6_pool.j2
parent0c2384114e8abbd9c883a57729564c70c0a86eec (diff)
parentdd036c62d1370f655a8d2075577597f24ffff7dc (diff)
downloadvyos-1x-7a7233a5289590671c6817bfb3233da2f29f358f.tar.gz
vyos-1x-7a7233a5289590671c6817bfb3233da2f29f358f.zip
Merge pull request #1060 from sever-sever/T2566
sstp: T2566: Fix to allow IPv6 only pools
Diffstat (limited to 'data/templates/accel-ppp/config_ipv6_pool.j2')
-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 f45bf9442..093887f7e 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 }},{{ options.mask }}
+{{ prefix }},{{ '64 ' if options.mask is not defined else 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() %}