diff options
author | Nataliia Solomko <natalirs1985@gmail.com> | 2025-02-19 16:33:59 +0200 |
---|---|---|
committer | Nataliia Solomko <natalirs1985@gmail.com> | 2025-02-19 16:33:59 +0200 |
commit | 8241857167968e9d2e9fabd1e84db578c0d022e7 (patch) | |
tree | 8eb6d9d82034a0c1e0f97b1d583637c4106c50df /data/templates/accel-ppp | |
parent | 32c4beae5d4869974bc151a4fb11c0f62d21c38c (diff) | |
download | vyos-1x-8241857167968e9d2e9fabd1e84db578c0d022e7.tar.gz vyos-1x-8241857167968e9d2e9fabd1e84db578c0d022e7.zip |
T6628: IPoE-server rename "static-ip" to "ip-address" for local auth
Diffstat (limited to 'data/templates/accel-ppp')
-rw-r--r-- | data/templates/accel-ppp/chap-secrets.ipoe.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/chap-secrets.ipoe.j2 b/data/templates/accel-ppp/chap-secrets.ipoe.j2 index dd85160c0..59b9dfc8d 100644 --- a/data/templates/accel-ppp/chap-secrets.ipoe.j2 +++ b/data/templates/accel-ppp/chap-secrets.ipoe.j2 @@ -6,7 +6,7 @@ {% if mac_config.vlan is vyos_defined %} {% set iface = iface ~ '.' ~ mac_config.vlan %} {% endif %} -{{ "%-11s" | format(iface) }} * {{ mac | lower }} {{ mac_config.static_ip if mac_config.static_ip is vyos_defined else '*' }} {{ mac_config.rate_limit.download ~ '/' ~ mac_config.rate_limit.upload if mac_config.rate_limit.download is vyos_defined and mac_config.rate_limit.upload is vyos_defined }} +{{ "%-11s" | format(iface) }} * {{ mac | lower }} {{ mac_config.ip_address if mac_config.ip_address is vyos_defined else '*' }} {{ mac_config.rate_limit.download ~ '/' ~ mac_config.rate_limit.upload if mac_config.rate_limit.download is vyos_defined and mac_config.rate_limit.upload is vyos_defined }} {% endfor %} {% endif %} {% endfor %} |