diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-02-02 10:14:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 10:14:35 +0200 |
commit | f2de4378b5048fb4fc3a493aa2a214a320dd8d48 (patch) | |
tree | c4c389afdc2c14a515bffadfdecf3b691625b928 /python | |
parent | 0307801b8928bbaaa20caf5bd10b928bae459490 (diff) | |
parent | d9e57fe65dd538c6ea80637f4f6f23cf11dc583d (diff) | |
download | vyos-1x-f2de4378b5048fb4fc3a493aa2a214a320dd8d48.tar.gz vyos-1x-f2de4378b5048fb4fc3a493aa2a214a320dd8d48.zip |
Merge pull request #2891 from aapostoliuk/T5971-circinus
T5971: Rewritten ppp options in accel-ppp services
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/accel_ppp_util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/accel_ppp_util.py b/python/vyos/accel_ppp_util.py index 2f029e042..d60402e48 100644 --- a/python/vyos/accel_ppp_util.py +++ b/python/vyos/accel_ppp_util.py @@ -187,13 +187,13 @@ def verify_accel_ppp_ip_pool(vpn_config): for ipv6_pool, ipv6_pool_config in vpn_config['client_ipv6_pool'].items(): if 'delegate' in ipv6_pool_config and 'prefix' not in ipv6_pool_config: raise ConfigError( - f'IPoE IPv6 deletate-prefix requires IPv6 prefix to be configured in "{ipv6_pool}"!') + f'IPv6 delegate-prefix requires IPv6 prefix to be configured in "{ipv6_pool}"!') if dict_search('authentication.mode', vpn_config) in ['local', 'noauth']: if not dict_search('client_ip_pool', vpn_config) and not dict_search( 'client_ipv6_pool', vpn_config): raise ConfigError( - "L2TP local auth mode requires local client-ip-pool or client-ipv6-pool to be configured!") + "Local auth mode requires local client-ip-pool or client-ipv6-pool to be configured!") if dict_search('client_ip_pool', vpn_config) and not dict_search( 'default_pool', vpn_config): Warning("'default-pool' is not defined") |