summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_pppoe-server.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-22 18:35:24 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-22 18:35:43 +0200
commit6f090e918bae878463aa683511ceab4fbbbade54 (patch)
treecb2f12721f2bf1abc960c5547b5d03cefbb26969 /src/conf_mode/service_pppoe-server.py
parentfea838d39dfdd0ff8039ce8439a670a4ad45331f (diff)
downloadvyos-1x-6f090e918bae878463aa683511ceab4fbbbade54.tar.gz
vyos-1x-6f090e918bae878463aa683511ceab4fbbbade54.zip
accel-ppp: fix wrong reference in verify() on missing attributes
Diffstat (limited to 'src/conf_mode/service_pppoe-server.py')
-rwxr-xr-xsrc/conf_mode/service_pppoe-server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/service_pppoe-server.py b/src/conf_mode/service_pppoe-server.py
index 066e997f6..95cb066d8 100755
--- a/src/conf_mode/service_pppoe-server.py
+++ b/src/conf_mode/service_pppoe-server.py
@@ -389,7 +389,7 @@ def verify(pppoe):
for radius in pppoe['radius_server']:
if not radius['key']:
server = radius['server']
- raise ConfigError(f'Missing RADIUS secret key for server "{{ server }}"')
+ raise ConfigError(f'Missing RADIUS secret key for server "{ server }"')
if len(pppoe['wins']) > 2:
raise ConfigError('Not more then two IPv4 WINS name-servers can be configured')