summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-07-16 00:49:25 +0700
committerGitHub <noreply@github.com>2019-07-16 00:49:25 +0700
commit13b27148102d2e38202bcfecbab8830a8561abdc (patch)
treedb8e7b7bd2389c1d9a0822c2e679b1770ccf217c /src/conf_mode
parent5886dd27cbc65f8cda04752bbd39a960b0887523 (diff)
parent5159252e53b620a1a6345f7651f122ef6c82bb07 (diff)
downloadvyos-1x-13b27148102d2e38202bcfecbab8830a8561abdc.tar.gz
vyos-1x-13b27148102d2e38202bcfecbab8830a8561abdc.zip
Merge pull request #90 from DmitriyEshenko/patch-4
Fix typo pppoe-server to pptp-server
Diffstat (limited to 'src/conf_mode')
-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')