summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}}