diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2011-01-05 10:41:51 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2011-01-05 10:41:51 +0200 |
commit | 62a0255c1fc74e7ec6559bb2bd5c85b7814e769a (patch) | |
tree | b11d3b1487c7a16e819893b389efa5642fa9f06d /wlantest | |
parent | fb8f5fc6fd9534721a9ce2ce4af479e585062add (diff) | |
download | external_wpa_supplicant_8_ti-62a0255c1fc74e7ec6559bb2bd5c85b7814e769a.zip external_wpa_supplicant_8_ti-62a0255c1fc74e7ec6559bb2bd5c85b7814e769a.tar.gz external_wpa_supplicant_8_ti-62a0255c1fc74e7ec6559bb2bd5c85b7814e769a.tar.bz2 |
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.
Diffstat (limited to 'wlantest')
-rw-r--r-- | wlantest/process.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wlantest/process.c b/wlantest/process.c index f740a64..3b80974 100644 --- a/wlantest/process.c +++ b/wlantest/process.c @@ -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; |