diff options
Diffstat (limited to 'data/templates/accel-ppp')
-rw-r--r-- | data/templates/accel-ppp/pppoe.config.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.tmpl b/data/templates/accel-ppp/pppoe.config.tmpl index aa9254e61..6c4ff89b1 100644 --- a/data/templates/accel-ppp/pppoe.config.tmpl +++ b/data/templates/accel-ppp/pppoe.config.tmpl @@ -88,7 +88,6 @@ 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] @@ -116,6 +115,9 @@ bind={{ radius_source_address }} dae-server={{ radius_dynamic_author.server }}:{{ radius_dynamic_author.port }},{{ radius_dynamic_author.key }} {% endif -%} {% endif %} +{% if ppp_gw %} +gw-ip-address={{ ppp_gw }} +{% endif %} {% if sesscrtl != 'disable' %} [common] |