summaryrefslogtreecommitdiff
path: root/src/conf_mode/vpn_sstp.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_sstp.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_sstp.py')
-rwxr-xr-xsrc/conf_mode/vpn_sstp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/vpn_sstp.py b/src/conf_mode/vpn_sstp.py
index 68980e5ab..db53463cf 100755
--- a/src/conf_mode/vpn_sstp.py
+++ b/src/conf_mode/vpn_sstp.py
@@ -114,7 +114,7 @@ def generate(sstp):
return None
# accel-cmd reload doesn't work so any change results in a restart of the daemon
- render(sstp_conf, 'accel-ppp/sstp.config.tmpl', sstp)
+ render(sstp_conf, 'accel-ppp/sstp.config.j2', sstp)
cert_name = sstp['ssl']['certificate']
pki_cert = sstp['pki']['certificate'][cert_name]
@@ -127,7 +127,7 @@ def generate(sstp):
write_file(ca_cert_file_path, wrap_certificate(pki_ca['certificate']))
if dict_search('authentication.mode', sstp) == 'local':
- render(sstp_chap_secrets, 'accel-ppp/chap-secrets.config_dict.tmpl',
+ render(sstp_chap_secrets, 'accel-ppp/chap-secrets.config_dict.j2',
sstp, permission=0o640)
else:
if os.path.exists(sstp_chap_secrets):