diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-11-19 21:07:37 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-11-19 21:08:08 +0100 |
commit | b1435a7ad210135ef15038be384b7e2474ebb923 (patch) | |
tree | 99792d2957b441c934e79bdd37b58fb15cdd14eb | |
parent | b59d7cecb65b0502a121c985695754fc9ff75c01 (diff) | |
download | vyos-1x-b1435a7ad210135ef15038be384b7e2474ebb923.tar.gz vyos-1x-b1435a7ad210135ef15038be384b7e2474ebb923.zip |
T835: add missing call to write_chap_secrets() to generate()
-rwxr-xr-x | src/conf_mode/accel_pppoe.py | 3 |
1 files changed, 3 insertions, 0 deletions
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): |