summaryrefslogtreecommitdiff
path: root/src/conf_mode/vpn_l2tp.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/vpn_l2tp.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/vpn_l2tp.py')
-rwxr-xr-xsrc/conf_mode/vpn_l2tp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vpn_l2tp.py b/src/conf_mode/vpn_l2tp.py
index d8a1fb115..a4ef99d45 100755
--- a/src/conf_mode/vpn_l2tp.py
+++ b/src/conf_mode/vpn_l2tp.py
@@ -309,7 +309,7 @@ def verify(l2tp):
for radius in l2tp['radius_server']:
if not radius['key']:
- raise ConfigError(f"Missing RADIUS secret for server {{ radius['key'] }}")
+ raise ConfigError(f"Missing RADIUS secret for server { radius['key'] }")
# check for the existence of a client ip pool
if not (l2tp['client_ip_pool'] or l2tp['client_ip_subnets']):