summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/accel-ppp/pppoe.config.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.tmpl b/data/templates/accel-ppp/pppoe.config.tmpl
index 537b2770d..b6a239fad 100644
--- a/data/templates/accel-ppp/pppoe.config.tmpl
+++ b/data/templates/accel-ppp/pppoe.config.tmpl
@@ -1,4 +1,3 @@
-
### generated by accel_pppoe.py ###
[modules]
log_syslog
@@ -6,13 +5,13 @@ pppoe
{% if auth_mode == 'radius' %}
radius
{% endif %}
+chap-secrets
ippool
{% if ppp_ipv6 != 'deny' %}
ipv6pool
ipv6_nd
ipv6_dhcp
{% endif %}
-chap-secrets
auth_pap
auth_chap_md5
auth_mschap_v1
@@ -87,6 +86,7 @@ wins{{ loop.index }}={{ server }}
{% if auth_mode == 'local' %}
[chap-secrets]
+gw-ip-address={{ ppp_gw }}
chap-secrets={{ chap_secrets_file }}
{% elif auth_mode == 'radius' %}
[radius]