From 5eec9cf21f4cde2de8aa10cb0622888cac5224ab Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 19 Nov 2018 21:07:37 +0100 Subject: T835: add missing call to write_chap_secrets() to generate() --- src/conf_mode/accel_pppoe.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/conf_mode/accel_pppoe.py b/src/conf_mode/accel_pppoe.py index 0ef22110f..d110f51e1 100755 --- a/src/conf_mode/accel_pppoe.py +++ b/src/conf_mode/accel_pppoe.py @@ -514,6 +514,9 @@ def generate(c): open(pppoe_conf,'w').write(config_text) sl.syslog(sl.LOG_NOTICE, pppoe_config + ' written') + if c['authentication']['local-users']: + write_chap_secrets(c) + return c def apply(c): -- cgit v1.2.3