wpa: check for eapol v2
This commit is contained in:
parent
6a1f3823bb
commit
2cf1e43e8c
1 changed files with 1 additions and 1 deletions
|
@ -654,7 +654,7 @@ main(int argc, char *argv[])
|
|||
|
||||
m = p;
|
||||
n = e - p;
|
||||
if(n < 4 || p[0] != 0x01 || p[1] != 0x03)
|
||||
if(n < 4 || (p[0] != 0x01 && p[0] != 0x02) || p[1] != 0x03)
|
||||
continue;
|
||||
n = p[2]<<8 | p[3];
|
||||
p += 4;
|
||||
|
|
Loading…
Reference in a new issue