diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-10-22 14:41:24 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2021-10-22 14:41:24 +0000 |
commit | 3af310cb76d96d08151e4cdc83abcfe15484a556 (patch) | |
tree | dd8e7b70041a6077bdbfdb34b2dba4e206e8b9a4 | |
parent | 017c31d96d2c916029f5181d3ab6c4a66afc61ab (diff) | |
download | vyos-1x-3af310cb76d96d08151e4cdc83abcfe15484a556.tar.gz vyos-1x-3af310cb76d96d08151e4cdc83abcfe15484a556.zip |
sstp: T2566: Fix verify section for pool ipv6 only
-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 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') # |