summaryrefslogtreecommitdiff
path: root/hostapd/ctrl_iface.c
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2018-07-22 16:38:59 +0200
committerAndrej Shadura <andrewsh@debian.org>2018-07-22 16:38:59 +0200
commit9beb1c24e24ba27d5eb40076905efda8c84ef0c7 (patch)
tree87463d39db1fa62bd0456bae5051a79f0b9a69bd /hostapd/ctrl_iface.c
parentaf298d59db003076cdede3c0d1ee74802d04d437 (diff)
New upstream version 2.7~git20180706+420b5dd
Diffstat (limited to 'hostapd/ctrl_iface.c')
-rw-r--r--hostapd/ctrl_iface.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hostapd/ctrl_iface.c b/hostapd/ctrl_iface.c
index 8e3dcc4..2d68e88 100644
--- a/hostapd/ctrl_iface.c
+++ b/hostapd/ctrl_iface.c
@@ -3203,6 +3203,11 @@ static int hostapd_ctrl_iface_receive_process(struct hostapd_data *hapd,
if (hostapd_dpp_pkex_remove(hapd, buf + 16) < 0)
reply_len = -1;
#endif /* CONFIG_DPP */
+#ifdef RADIUS_SERVER
+ } else if (os_strncmp(buf, "DAC_REQUEST ", 12) == 0) {
+ if (radius_server_dac_request(hapd->radius_srv, buf + 12) < 0)
+ reply_len = -1;
+#endif /* RADIUS_SERVER */
} else {
os_memcpy(reply, "UNKNOWN COMMAND\n", 16);
reply_len = 16;