diff options
author | hagbard <vyosdev@derith.de> | 2019-03-06 12:21:51 -0800 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-03-06 12:21:51 -0800 |
commit | 3703595f3225d1a8eb43bd861eb1fbae192a3a25 (patch) | |
tree | a8ca3eed476ff5b028246a61c037c8264ab5e840 /src/conf_mode | |
parent | 2e7cb783e91a011063795d69147ea21911fcada4 (diff) | |
download | vyos-1x-3703595f3225d1a8eb43bd861eb1fbae192a3a25.tar.gz vyos-1x-3703595f3225d1a8eb43bd861eb1fbae192a3a25.zip |
[pptp] radius module load without config caused a crashes during start
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/accel_pptp.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/accel_pptp.py b/src/conf_mode/accel_pptp.py index 5ac02a1cc..257c2f18e 100755 --- a/src/conf_mode/accel_pptp.py +++ b/src/conf_mode/accel_pptp.py @@ -51,7 +51,9 @@ chap-secrets {% else %} auth_mschap_v2 {% endif %} +{% if authentication['mode'] == 'radius' %} radius +{% endif -%} [core] thread-count={{thread_cnt}} |