wlantest: Skip frames inserted by wlantest when reading pcap file
This makes debug output clearer when re-reading a file that has previously been processed and decrypted by wlantest.
This commit is contained in:
parent
fb8f5fc6fd
commit
62a0255c1f
1 changed files with 4 additions and 0 deletions
|
@ -228,6 +228,10 @@ void wlantest_process(struct wlantest *wt, const u8 *data, size_t len)
|
|||
}
|
||||
}
|
||||
|
||||
if (iter.max_length == 8) {
|
||||
wpa_printf(MSG_DEBUG, "Skip frame inserted by wlantest");
|
||||
return;
|
||||
}
|
||||
frame = data + iter.max_length;
|
||||
frame_len = len - iter.max_length;
|
||||
|
||||
|
|
Loading…
Reference in a new issue