aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/readpcap.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2020-03-14 15:31:57 (GMT)
committerJouni Malinen <j@w1.fi>2020-03-14 15:36:41 (GMT)
commit80d41221599b9bcf21dddbd1573ea7e84ae0c913 (patch)
tree6d11efa2778bfc74d160f112d62014c1797645c4 /wlantest/readpcap.c
parent839bab785ba251ee4327a3f80d27e5c48fb5551c (diff)
downloadhostap-80d41221599b9bcf21dddbd1573ea7e84ae0c913.zip
hostap-80d41221599b9bcf21dddbd1573ea7e84ae0c913.tar.gz
hostap-80d41221599b9bcf21dddbd1573ea7e84ae0c913.tar.bz2
wlantest: Detect and report plaintext payload in protected frames
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wlantest/readpcap.c')
-rw-r--r--wlantest/readpcap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wlantest/readpcap.c b/wlantest/readpcap.c
index 6c3853b..1e7e662 100644
--- a/wlantest/readpcap.c
+++ b/wlantest/readpcap.c
@@ -92,6 +92,7 @@ int read_cap_file(struct wlantest *wt, const char *fname)
}
/* Packet was read without problems */
+ wt->frame_num++;
wpa_printf(MSG_EXCESSIVE, "pcap hdr: ts=%d.%06d "
"len=%u/%u",
(int) hdr->ts.tv_sec, (int) hdr->ts.tv_usec,