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 /data/templates/accel-ppp/chap-secrets.ipoe.tmpl | |
parent | 5ec208ed9ee060f7c1a7707dc2369c83657196e8 (diff) | |
download | vyos-1x-d956fda57f3288d6b23af90eab205091a0797e1a.tar.gz vyos-1x-d956fda57f3288d6b23af90eab205091a0797e1a.zip |
accel-ppp: T4353: fix Jinja2 linting errors
Diffstat (limited to 'data/templates/accel-ppp/chap-secrets.ipoe.tmpl')
-rw-r--r-- | data/templates/accel-ppp/chap-secrets.ipoe.tmpl | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/data/templates/accel-ppp/chap-secrets.ipoe.tmpl b/data/templates/accel-ppp/chap-secrets.ipoe.tmpl deleted file mode 100644 index 1df878fcf..000000000 --- a/data/templates/accel-ppp/chap-secrets.ipoe.tmpl +++ /dev/null @@ -1,18 +0,0 @@ -# username server password acceptable local IP addresses shaper -{% for interface in auth_interfaces %} -{% for mac in interface.mac %} -{% if mac.rate_upload and mac.rate_download %} -{% if mac.vlan_id %} -{{ interface.name }}.{{ mac.vlan_id }} * {{ mac.address | lower }} * {{ mac.rate_download }}/{{ mac.rate_upload }} -{% else %} -{{ interface.name }} * {{ mac.address | lower }} * {{ mac.rate_download }}/{{ mac.rate_upload }} -{% endif %} -{% else %} -{% if mac.vlan_id %} -{{ interface.name }}.{{ mac.vlan_id }} * {{ mac.address | lower }} * -{% else %} -{{ interface.name }} * {{ mac.address | lower }} * -{% endif %} -{% endif %} -{% endfor %} -{% endfor %} |