summaryrefslogtreecommitdiff
path: root/data/templates/pppoe
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-22 22:04:22 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-22 22:46:32 +0100
commit38bab79324087df5a9057c23b85a0a784c09540a (patch)
tree920b1a55d0c7ff50eb0936668c6f2798e223efab /data/templates/pppoe
parent33c3a02729ae95a8173f902cddd039c17262fbcb (diff)
downloadvyos-1x-38bab79324087df5a9057c23b85a0a784c09540a.tar.gz
vyos-1x-38bab79324087df5a9057c23b85a0a784c09540a.zip
pppoe: T4948: add CLI option to allow definition of host-uniq flag
Some ISPs seem to use the host-uniq flag to authenticate client equipment. Add CLI option in VyOS to allow specification of the host-uniq flag. set interfaces pppoe pppoeN host-uniq <value>
Diffstat (limited to 'data/templates/pppoe')
-rw-r--r--data/templates/pppoe/peer.j27
1 files changed, 5 insertions, 2 deletions
diff --git a/data/templates/pppoe/peer.j2 b/data/templates/pppoe/peer.j2
index 6221abb9b..f433a9b03 100644
--- a/data/templates/pppoe/peer.j2
+++ b/data/templates/pppoe/peer.j2
@@ -36,10 +36,13 @@ maxfail 0
plugin rp-pppoe.so {{ source_interface }}
{% if access_concentrator is vyos_defined %}
-rp_pppoe_ac '{{ access_concentrator }}'
+pppoe-ac "{{ access_concentrator }}"
{% endif %}
{% if service_name is vyos_defined %}
-rp_pppoe_service '{{ service_name }}'
+pppoe-service "{{ service_name }}"
+{% endif %}
+{% if host_uniq is vyos_defined %}
+pppoe-host-uniq "{{ host_uniq }}"
{% endif %}
persist