summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-23 06:42:33 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-23 07:35:50 +0100
commit36bf5f4d5ad114115feac91e5ffc726c5a3423d8 (patch)
treeb97f46b34cb9daaebc7eba51816d752a0250fcb4 /data
parente090c10ea0767bf144f64966d6d0f52fd28b5837 (diff)
downloadvyos-1x-36bf5f4d5ad114115feac91e5ffc726c5a3423d8.tar.gz
vyos-1x-36bf5f4d5ad114115feac91e5ffc726c5a3423d8.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> (cherry-picked from commit 38bab79324087df5a9057c23b85a0a784c09540a)
Diffstat (limited to 'data')
-rw-r--r--data/templates/pppoe/peer.tmpl7
1 files changed, 5 insertions, 2 deletions
diff --git a/data/templates/pppoe/peer.tmpl b/data/templates/pppoe/peer.tmpl
index f416f9947..b681bea77 100644
--- a/data/templates/pppoe/peer.tmpl
+++ b/data/templates/pppoe/peer.tmpl
@@ -36,10 +36,13 @@ maxfail 0
plugin rp-pppoe.so {{ source_interface }}
{% if access_concentrator is defined and access_concentrator is not none %}
-rp_pppoe_ac '{{ access_concentrator }}'
+rp_pppoe_ac "{{ access_concentrator }}"
{% endif %}
{% if service_name is defined and service_name is not none %}
-rp_pppoe_service '{{ service_name }}'
+rp_pppoe_service "{{ service_name }}"
+{% endif %}
+{% if host_uniq is defined and host_uniq is not none %}
+host-uniq "{{ host_uniq }}"
{% endif %}
persist