diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-03 19:30:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 19:30:18 +0100 |
commit | 7a7233a5289590671c6817bfb3233da2f29f358f (patch) | |
tree | f3d946c89b0bbaaf8dacf823072304ecab7923e0 /data/templates/accel-ppp/sstp.config.tmpl | |
parent | 0c2384114e8abbd9c883a57729564c70c0a86eec (diff) | |
parent | dd036c62d1370f655a8d2075577597f24ffff7dc (diff) | |
download | vyos-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/sstp.config.tmpl')
-rw-r--r-- | data/templates/accel-ppp/sstp.config.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/accel-ppp/sstp.config.tmpl b/data/templates/accel-ppp/sstp.config.tmpl index d48e9ab0d..7a40a96aa 100644 --- a/data/templates/accel-ppp/sstp.config.tmpl +++ b/data/templates/accel-ppp/sstp.config.tmpl @@ -52,9 +52,9 @@ verbose=1 check-ip=1 {# MTU #} mtu={{ mtu }} -{% if client_ipv6_pool is defined %} -ipv6=allow -{% endif %} +ipv6={{ 'allow' if ppp_options.ipv6 == "deny" and client_ipv6_pool is defined else ppp_options.ipv6 }} +ipv4={{ ppp_options.ipv4 }} + mppe={{ ppp_options.mppe }} lcp-echo-interval={{ ppp_options.lcp_echo_interval }} lcp-echo-timeout={{ ppp_options.lcp_echo_timeout }} |