summaryrefslogtreecommitdiff
path: root/src/conf_mode/vpn_l2tp.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-21 17:39:06 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-21 17:39:06 +0200
commit3f3efab7812f79e9fe9acffac0222d313344c25c (patch)
tree4a020316b0771e196c2d1d6c81b48d722fc6be59 /src/conf_mode/vpn_l2tp.py
parent207b7390003c98df25c31dfad8c42b09accc0b39 (diff)
downloadvyos-1x-3f3efab7812f79e9fe9acffac0222d313344c25c.tar.gz
vyos-1x-3f3efab7812f79e9fe9acffac0222d313344c25c.zip
vpn: l2tp: T2314: pass proper content variable to render()
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 417520e09..a640e2a94 100755
--- a/src/conf_mode/vpn_l2tp.py
+++ b/src/conf_mode/vpn_l2tp.py
@@ -348,7 +348,7 @@ def generate(l2tp):
if not os.path.exists(dirname):
os.mkdir(dirname)
- render(l2tp_conf, 'accel-ppp/l2tp.config.tmpl', c, trim_blocks=True)
+ render(l2tp_conf, 'accel-ppp/l2tp.config.tmpl', l2tp, trim_blocks=True)
if l2tp['auth_mode'] == 'local':
render(l2tp_chap_secrets, 'accel-ppp/chap-secrets.tmpl', l2tp)