mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Include own MAC address in status info even in non-P2P builds
This commit is contained in:
parent
13b9f3a1f9
commit
b21e2c84f1
@ -762,13 +762,13 @@ static int wpa_supplicant_ctrl_iface_status(struct wpa_supplicant *wpa_s,
|
|||||||
return pos - buf;
|
return pos - buf;
|
||||||
pos += ret;
|
pos += ret;
|
||||||
}
|
}
|
||||||
|
#endif /* CONFIG_P2P */
|
||||||
|
|
||||||
ret = os_snprintf(pos, end - pos, "address=" MACSTR "\n",
|
ret = os_snprintf(pos, end - pos, "address=" MACSTR "\n",
|
||||||
MAC2STR(wpa_s->own_addr));
|
MAC2STR(wpa_s->own_addr));
|
||||||
if (ret < 0 || ret >= end - pos)
|
if (ret < 0 || ret >= end - pos)
|
||||||
return pos - buf;
|
return pos - buf;
|
||||||
pos += ret;
|
pos += ret;
|
||||||
#endif /* CONFIG_P2P */
|
|
||||||
|
|
||||||
if (wpa_key_mgmt_wpa_ieee8021x(wpa_s->key_mgmt) ||
|
if (wpa_key_mgmt_wpa_ieee8021x(wpa_s->key_mgmt) ||
|
||||||
wpa_s->key_mgmt == WPA_KEY_MGMT_IEEE8021X_NO_WPA) {
|
wpa_s->key_mgmt == WPA_KEY_MGMT_IEEE8021X_NO_WPA) {
|
||||||
|
Loading…
Reference in New Issue
Block a user