summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-03-06 12:21:51 -0800
committerhagbard <vyosdev@derith.de>2019-03-06 12:21:51 -0800
commit3703595f3225d1a8eb43bd861eb1fbae192a3a25 (patch)
treea8ca3eed476ff5b028246a61c037c8264ab5e840
parent2e7cb783e91a011063795d69147ea21911fcada4 (diff)
downloadvyos-1x-3703595f3225d1a8eb43bd861eb1fbae192a3a25.tar.gz
vyos-1x-3703595f3225d1a8eb43bd861eb1fbae192a3a25.zip
[pptp] radius module load without config caused a crashes during start
-rwxr-xr-xsrc/conf_mode/accel_pptp.py2
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}}