From 4484c747723b15ee6091628ce0c380f82e2e47b5 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 20 Apr 2020 17:36:08 +0200 Subject: pppoe-server: T2344: fix client static IP assignment --- src/conf_mode/accel_pppoe.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 -%} -- cgit v1.2.3