mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-17 18:34:03 -05:00
Add NOTE control interface command for hostapd
This does the same as the matching command in wpa_supplicant, i.e., add a note in the debug log. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
2f37387812
commit
f6de72534e
@ -2788,6 +2788,8 @@ static int hostapd_ctrl_iface_receive_process(struct hostapd_data *hapd,
|
||||
} else if (os_strncmp(buf, "RELOG", 5) == 0) {
|
||||
if (wpa_debug_reopen_file() < 0)
|
||||
reply_len = -1;
|
||||
} else if (os_strncmp(buf, "NOTE ", 5) == 0) {
|
||||
wpa_printf(MSG_INFO, "NOTE: %s", buf + 5);
|
||||
} else if (os_strcmp(buf, "STATUS") == 0) {
|
||||
reply_len = hostapd_ctrl_iface_status(hapd, reply,
|
||||
reply_size);
|
||||
|
Loading…
Reference in New Issue
Block a user