summaryrefslogtreecommitdiff
path: root/src/conf_mode/vpn_pptp.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-01 21:11:09 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-01 21:11:09 +0200
commitd956fda57f3288d6b23af90eab205091a0797e1a (patch)
treecb6e59a1effb3075c96e9f09ed7db9dd3402b637 /src/conf_mode/vpn_pptp.py
parent5ec208ed9ee060f7c1a7707dc2369c83657196e8 (diff)
downloadvyos-1x-d956fda57f3288d6b23af90eab205091a0797e1a.tar.gz
vyos-1x-d956fda57f3288d6b23af90eab205091a0797e1a.zip
accel-ppp: T4353: fix Jinja2 linting errors
Diffstat (limited to 'src/conf_mode/vpn_pptp.py')
-rwxr-xr-xsrc/conf_mode/vpn_pptp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/vpn_pptp.py b/src/conf_mode/vpn_pptp.py
index 30abe4782..7550c411e 100755
--- a/src/conf_mode/vpn_pptp.py
+++ b/src/conf_mode/vpn_pptp.py
@@ -264,10 +264,10 @@ def generate(pptp):
if not pptp:
return None
- render(pptp_conf, 'accel-ppp/pptp.config.tmpl', pptp)
+ render(pptp_conf, 'accel-ppp/pptp.config.j2', pptp)
if pptp['local_users']:
- render(pptp_chap_secrets, 'accel-ppp/chap-secrets.tmpl', pptp)
+ render(pptp_chap_secrets, 'accel-ppp/chap-secrets.j2', pptp)
os.chmod(pptp_chap_secrets, S_IRUSR | S_IWUSR | S_IRGRP)
else:
if os.path.exists(pptp_chap_secrets):