diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-10-22 14:41:24 +0000 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-10-22 17:02:09 +0200 |
commit | aeff049aea37115a7bbe52cd0da4d987fbccde82 (patch) | |
tree | cabc995758f93c3a25f67607a159bc83d06c9a51 /src/conf_mode | |
parent | 594c57d9b16cac5810f796f15ad7458bd0877435 (diff) | |
download | vyos-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-x | src/conf_mode/vpn_sstp.py | 2 |
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') # |