diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-10-22 17:00:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-22 17:00:52 +0200 |
commit | dc9b2b93eaa4287f4f7a76a14cda40af4ae531a6 (patch) | |
tree | dd8e7b70041a6077bdbfdb34b2dba4e206e8b9a4 | |
parent | 017c31d96d2c916029f5181d3ab6c4a66afc61ab (diff) | |
parent | 3af310cb76d96d08151e4cdc83abcfe15484a556 (diff) | |
download | vyos-1x-dc9b2b93eaa4287f4f7a76a14cda40af4ae531a6.tar.gz vyos-1x-dc9b2b93eaa4287f4f7a76a14cda40af4ae531a6.zip |
Merge pull request #1039 from sever-sever/T2566
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') # |