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:07:37 +0100 |
commit | 5eec9cf21f4cde2de8aa10cb0622888cac5224ab (patch) | |
tree | d18e2c94aa436308a7bfe9903db261b5bf515515 | |
parent | 44e4cb2bac88a1dea7469643aef78d03b2a6afe1 (diff) | |
download | vyos-1x-5eec9cf21f4cde2de8aa10cb0622888cac5224ab.tar.gz vyos-1x-5eec9cf21f4cde2de8aa10cb0622888cac5224ab.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): |