diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-10 19:09:58 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-11 11:25:13 +0200 |
commit | c2ae1ca3be86abfdba418a738785c8a217f6245f (patch) | |
tree | c4a899e368733ba4e2540f3bb48cd4dd2ec1e38e /src/conf_mode/vpn_sstp.py | |
parent | 0adecf6c79c0de37a705cb0b035e7ab8a24cd09c (diff) | |
download | vyos-1x-c2ae1ca3be86abfdba418a738785c8a217f6245f.tar.gz vyos-1x-c2ae1ca3be86abfdba418a738785c8a217f6245f.zip |
vpn: sstp: T2008: adjust DNS error message
Diffstat (limited to 'src/conf_mode/vpn_sstp.py')
-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 ca0844c50..f1c65eef4 100755 --- a/src/conf_mode/vpn_sstp.py +++ b/src/conf_mode/vpn_sstp.py @@ -303,7 +303,7 @@ def verify(sstp): raise ConfigError("Client gateway IP address required") if len(sstp['dnsv4']) > 2: - raise ConfigError("Only 2 DNS name-servers can be configured") + raise ConfigError('Not more then two IPv4 DNS name-servers can be configured') if not sstp['ssl_ca'] or not sstp['ssl_cert'] or not sstp['ssl_key']: raise ConfigError('One or more SSL certificates missing') |