summaryrefslogtreecommitdiff
path: root/python/vyos/accel_ppp_util.py
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2024-01-24 15:50:01 +0200
committeraapostoliuk <a.apostoliuk@vyos.io>2024-01-29 16:34:35 +0200
commitd9e57fe65dd538c6ea80637f4f6f23cf11dc583d (patch)
tree5f0f48920a8c387616d4c2a909471a780f3f8b54 /python/vyos/accel_ppp_util.py
parent34419458d99cf8d07279f92935c0f10d9b603f33 (diff)
downloadvyos-1x-d9e57fe65dd538c6ea80637f4f6f23cf11dc583d.tar.gz
vyos-1x-d9e57fe65dd538c6ea80637f4f6f23cf11dc583d.zip
T5971: Rewritten ppp options in accel-ppp services
Rewritten 'ppp-options' to the same view in all accel-ppp services. Adding IPv6 support to PPTP.
Diffstat (limited to 'python/vyos/accel_ppp_util.py')
-rw-r--r--python/vyos/accel_ppp_util.py4
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")