summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-10-22 14:41:24 +0000
committerChristian Poessinger <christian@poessinger.com>2021-10-22 17:02:09 +0200
commitaeff049aea37115a7bbe52cd0da4d987fbccde82 (patch)
treecabc995758f93c3a25f67607a159bc83d06c9a51 /src/conf_mode
parent594c57d9b16cac5810f796f15ad7458bd0877435 (diff)
downloadvyos-1x-aeff049aea37115a7bbe52cd0da4d987fbccde82.tar.gz
vyos-1x-aeff049aea37115a7bbe52cd0da4d987fbccde82.zip
sstp: T2566: Fix verify section for pool ipv6 only
(cherry picked from commit 3af310cb76d96d08151e4cdc83abcfe15484a556)
Diffstat (limited to 'src/conf_mode')
-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 d1a71a5ad..68139dc47 100755
--- a/src/conf_mode/vpn_sstp.py
+++ b/src/conf_mode/vpn_sstp.py
@@ -58,7 +58,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')
#