mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-24 16:28:23 -05:00
fragattacks: fix for compilation on old platforms
This commit is contained in:
parent
73fd084aaf
commit
97cd085bb2
@ -9808,6 +9808,7 @@ static int wpas_ctrl_set_assoc_resp_ies(struct wpa_supplicant *wpa_s, const char
|
||||
struct wpa_sm *sm = wpa_s->wpa;
|
||||
size_t len;
|
||||
u8 *buf;
|
||||
int i;
|
||||
|
||||
len = os_strlen(cmd);
|
||||
if (len & 1) return -1;
|
||||
@ -9823,7 +9824,7 @@ static int wpas_ctrl_set_assoc_resp_ies(struct wpa_supplicant *wpa_s, const char
|
||||
}
|
||||
|
||||
printf("\n\nCurrent value = ");
|
||||
for (int i = 0; i < sm->assoc_resp_ies_len; ++i)
|
||||
for (i = 0; i < sm->assoc_resp_ies_len; ++i)
|
||||
printf("%02X ", sm->assoc_resp_ies[i]);
|
||||
printf("\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user