Dror Birkman c6fb0e5558 pcap: fix captured frame length
The actual captured length is header.caplen, whereas header.len is
the original length on the wire.

Fixes: 4c173302c307 ("pcap: add new driver")

Signed-off-by: Dror Birkman <dror.birkman@lightcyber.com>
Acked-by: Nicolás Pernas Maradei <nicolas.pernas.maradei@emutex.com>
2016-03-16 19:05:47 +01:00
..
2016-03-16 16:51:12 +01:00
2016-03-16 16:57:39 +01:00
2016-03-16 18:51:44 +01:00
2016-03-16 17:18:11 +01:00
2016-03-16 18:52:18 +01:00
2015-11-03 18:46:52 +01:00
2016-03-16 19:05:47 +01:00
2015-11-23 23:51:14 +01:00
2016-03-04 16:01:15 +01:00