diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-20 17:45:31 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-20 17:47:29 +0200 |
commit | a176ab7329df15aea2cdb260361fb75c11244905 (patch) | |
tree | d46bd508e45db0f0c6403538a171deae1df0f107 | |
parent | 6b8a6619533c7f47a63e041efb516ad91b10b4da (diff) | |
download | vyos-1x-a176ab7329df15aea2cdb260361fb75c11244905.tar.gz vyos-1x-a176ab7329df15aea2cdb260361fb75c11244905.zip |
pppoe-server: T2344: fix client static IP assignment
-rw-r--r-- | data/templates/accel-ppp/pppoe.config.tmpl | 4 |
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] |