summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-pppoe.py
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 /src/conf_mode/interfaces-pppoe.py
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 'src/conf_mode/interfaces-pppoe.py')
-rwxr-xr-xsrc/conf_mode/interfaces-pppoe.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-pppoe.py b/src/conf_mode/interfaces-pppoe.py
index ee4defa0d..5f0b76f90 100755
--- a/src/conf_mode/interfaces-pppoe.py
+++ b/src/conf_mode/interfaces-pppoe.py
@@ -54,7 +54,8 @@ def get_config(config=None):
# All parameters that can be changed on-the-fly (like interface description)
# should not lead to a reconnect!
for options in ['access-concentrator', 'connect-on-demand', 'service-name',
- 'source-interface', 'vrf', 'no-default-route', 'authentication']:
+ 'source-interface', 'vrf', 'no-default-route',
+ 'authentication', 'host_uniq']:
if is_node_changed(conf, base + [ifname, options]):
pppoe.update({'shutdown_required': {}})
# bail out early - no need to further process other nodes