diff options
author | Christian Breunig <christian@breunig.cc> | 2025-02-20 07:33:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-20 07:33:23 +0100 |
commit | 6be2553c5d5e96b32c957d5f82a861dcb3d86b88 (patch) | |
tree | 3ccd86931a30018692c880a3cc1afee202a3e63f /data | |
parent | 624039b27efc7228d815471e1f917bbd237b1db3 (diff) | |
parent | 8241857167968e9d2e9fabd1e84db578c0d022e7 (diff) | |
download | vyos-1x-6be2553c5d5e96b32c957d5f82a861dcb3d86b88.tar.gz vyos-1x-6be2553c5d5e96b32c957d5f82a861dcb3d86b88.zip |
Merge pull request #4352 from natali-rs1985/T6628-fix
T6628: IPoE-server rename "static-ip" to "ip-address" for local auth
Diffstat (limited to 'data')
-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 %} |