mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Interworking: Fix PLMN matching with multiple entries
The pos variable was not advanced when comparing PLMN entries in 3GPP Cellular Network information and as such, only the first entry was really used. Signed-hostap: Jouni Malinen <j@w1.fi> intended-for: hostap-1
This commit is contained in:
parent
43f51e2aa0
commit
8f23401281
@ -551,6 +551,7 @@ static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len)
|
||||
break;
|
||||
if (os_memcmp(pos, plmn, 3) == 0)
|
||||
return 1; /* Found matching PLMN */
|
||||
pos += 3;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user