summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_ipoe-server.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/service_ipoe-server.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/service_ipoe-server.py')
-rwxr-xr-xsrc/conf_mode/service_ipoe-server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/service_ipoe-server.py b/src/conf_mode/service_ipoe-server.py
index 2ebee8018..559d1bcd5 100755
--- a/src/conf_mode/service_ipoe-server.py
+++ b/src/conf_mode/service_ipoe-server.py
@@ -296,10 +296,10 @@ def generate(ipoe):
if not ipoe:
return None
- render(ipoe_conf, 'accel-ppp/ipoe.config.tmpl', ipoe)
+ render(ipoe_conf, 'accel-ppp/ipoe.config.j2', ipoe)
if ipoe['auth_mode'] == 'local':
- render(ipoe_chap_secrets, 'accel-ppp/chap-secrets.ipoe.tmpl', ipoe)
+ render(ipoe_chap_secrets, 'accel-ppp/chap-secrets.ipoe.j2', ipoe)
os.chmod(ipoe_chap_secrets, S_IRUSR | S_IWUSR | S_IRGRP)
else: