mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Print control interface commands in easier format
The ASCII hexdump is somewhat difficult to search for (especially on Android builds), so make the debug log easier to parse by printing the full control interface command as a text string. In addition, use wpa_dbg() to get the interface name printed so that multi-interface cases can be debugged. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
c244dd2ec0
commit
b470b2bf37
@ -4360,6 +4360,7 @@ char * wpa_supplicant_ctrl_iface_process(struct wpa_supplicant *wpa_s,
|
||||
level = MSG_EXCESSIVE;
|
||||
wpa_hexdump_ascii(level, "RX ctrl_iface",
|
||||
(const u8 *) buf, os_strlen(buf));
|
||||
wpa_dbg(wpa_s, level, "Control interface command '%s'", buf);
|
||||
}
|
||||
|
||||
reply = os_malloc(reply_size);
|
||||
|
Loading…
Reference in New Issue
Block a user