From 3703595f3225d1a8eb43bd861eb1fbae192a3a25 Mon Sep 17 00:00:00 2001 From: hagbard Date: Wed, 6 Mar 2019 12:21:51 -0800 Subject: [pptp] radius module load without config caused a crashes during start --- src/conf_mode/accel_pptp.py | 2 ++ 1 file changed, 2 insertions(+) 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}} -- cgit v1.2.3