diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-20 17:36:08 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-20 17:36:08 +0200 |
commit | 4484c747723b15ee6091628ce0c380f82e2e47b5 (patch) | |
tree | 578fc99c354e1b420a6f4aace92659e1478fd961 | |
parent | 6eda5c820f4d4d98920a0b45aaac37c8a88d40e7 (diff) | |
download | vyos-1x-4484c747723b15ee6091628ce0c380f82e2e47b5.tar.gz vyos-1x-4484c747723b15ee6091628ce0c380f82e2e47b5.zip |
pppoe-server: T2344: fix client static IP assignment
-rwxr-xr-x | src/conf_mode/accel_pppoe.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf_mode/accel_pppoe.py b/src/conf_mode/accel_pppoe.py index a113ed34e..1c99bf0fc 100755 --- a/src/conf_mode/accel_pppoe.py +++ b/src/conf_mode/accel_pppoe.py @@ -47,11 +47,11 @@ pppoe {% if authentication['mode'] == 'radius' %} radius {% endif %} +chap-secrets ippool {% if client_ipv6_pool %} ipv6pool {% endif %} -chap-secrets auth_pap auth_chap_md5 auth_mschap_v1 @@ -132,6 +132,7 @@ wins2={{wins[1]}} {% if authentication['mode'] == 'local' %} [chap-secrets] +gw-ip-address={{ppp_gw}} chap-secrets=/etc/accel-ppp/pppoe/chap-secrets {% endif -%} |