summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-20 17:36:08 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-20 17:36:08 +0200
commit4484c747723b15ee6091628ce0c380f82e2e47b5 (patch)
tree578fc99c354e1b420a6f4aace92659e1478fd961 /src
parent6eda5c820f4d4d98920a0b45aaac37c8a88d40e7 (diff)
downloadvyos-1x-4484c747723b15ee6091628ce0c380f82e2e47b5.tar.gz
vyos-1x-4484c747723b15ee6091628ce0c380f82e2e47b5.zip
pppoe-server: T2344: fix client static IP assignment
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/accel_pppoe.py3
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 -%}