summaryrefslogtreecommitdiff
path: root/src/conf_mode/accel_pptp.py
diff options
context:
space:
mode:
authorEshenko Dmitriy <snooppy@mail.ua>2019-07-15 20:10:49 +0300
committerGitHub <noreply@github.com>2019-07-15 20:10:49 +0300
commit5159252e53b620a1a6345f7651f122ef6c82bb07 (patch)
treedb8e7b7bd2389c1d9a0822c2e679b1770ccf217c /src/conf_mode/accel_pptp.py
parent5886dd27cbc65f8cda04752bbd39a960b0887523 (diff)
downloadvyos-1x-5159252e53b620a1a6345f7651f122ef6c82bb07.tar.gz
vyos-1x-5159252e53b620a1a6345f7651f122ef6c82bb07.zip
Fix typo pppoe-server to pptp-server
Diffstat (limited to 'src/conf_mode/accel_pptp.py')
-rwxr-xr-xsrc/conf_mode/accel_pptp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/accel_pptp.py b/src/conf_mode/accel_pptp.py
index 5f8ccfd84..1dd7efb3e 100755
--- a/src/conf_mode/accel_pptp.py
+++ b/src/conf_mode/accel_pptp.py
@@ -296,7 +296,7 @@ def verify(c):
if c['authentication']['mode'] == 'local':
if not c['authentication']['local-users']:
- raise ConfigError('pppoe-server authentication local-users required')
+ raise ConfigError('pptp-server authentication local-users required')
for usr in c['authentication']['local-users']:
if not c['authentication']['local-users'][usr]['passwd']:
raise ConfigError('user ' + usr + ' requires a password')