summaryrefslogtreecommitdiff
path: root/src/conf_mode/vpn_sstp.py
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-10-22 14:41:24 +0000
committerViacheslav <v.gletenko@vyos.io>2021-10-22 14:41:24 +0000
commit3af310cb76d96d08151e4cdc83abcfe15484a556 (patch)
treedd8e7b70041a6077bdbfdb34b2dba4e206e8b9a4 /src/conf_mode/vpn_sstp.py
parent017c31d96d2c916029f5181d3ab6c4a66afc61ab (diff)
downloadvyos-1x-3af310cb76d96d08151e4cdc83abcfe15484a556.tar.gz
vyos-1x-3af310cb76d96d08151e4cdc83abcfe15484a556.zip
sstp: T2566: Fix verify section for pool ipv6 only
Diffstat (limited to 'src/conf_mode/vpn_sstp.py')
-rwxr-xr-xsrc/conf_mode/vpn_sstp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vpn_sstp.py b/src/conf_mode/vpn_sstp.py
index 11925dfa4..070009722 100755
--- a/src/conf_mode/vpn_sstp.py
+++ b/src/conf_mode/vpn_sstp.py
@@ -50,7 +50,7 @@ def verify(sstp):
verify_accel_ppp_base_service(sstp)
- if not sstp['client_ip_pool']:
+ if 'client_ip_pool' not in sstp and 'client_ipv6_pool' not in sstp:
raise ConfigError('Client IP subnet required')
#