summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 -%}