diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-05-01 21:11:09 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-05-01 21:11:09 +0200 |
commit | d956fda57f3288d6b23af90eab205091a0797e1a (patch) | |
tree | cb6e59a1effb3075c96e9f09ed7db9dd3402b637 /src/conf_mode/service_pppoe-server.py | |
parent | 5ec208ed9ee060f7c1a7707dc2369c83657196e8 (diff) | |
download | vyos-1x-d956fda57f3288d6b23af90eab205091a0797e1a.tar.gz vyos-1x-d956fda57f3288d6b23af90eab205091a0797e1a.zip |
accel-ppp: T4353: fix Jinja2 linting errors
Diffstat (limited to 'src/conf_mode/service_pppoe-server.py')
-rwxr-xr-x | src/conf_mode/service_pppoe-server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/service_pppoe-server.py b/src/conf_mode/service_pppoe-server.py index 1f31d132d..6086ef859 100755 --- a/src/conf_mode/service_pppoe-server.py +++ b/src/conf_mode/service_pppoe-server.py @@ -88,10 +88,10 @@ def generate(pppoe): for vlan_range in pppoe['interface'][iface]['vlan_range']: pppoe['interface'][iface]['regex'].append(range_to_regex(vlan_range)) - render(pppoe_conf, 'accel-ppp/pppoe.config.tmpl', pppoe) + render(pppoe_conf, 'accel-ppp/pppoe.config.j2', pppoe) if dict_search('authentication.mode', pppoe) == 'local': - render(pppoe_chap_secrets, 'accel-ppp/chap-secrets.config_dict.tmpl', + render(pppoe_chap_secrets, 'accel-ppp/chap-secrets.config_dict.j2', pppoe, permission=0o640) else: if os.path.exists(pppoe_chap_secrets): |