netsniff-ng: Consider radiotap header of monitor dev
commit47a7037955bfa7405a0a676f214c26d136b8ca9a
authorVadim Kochan <vadim4j@gmail.com>
Fri, 10 Apr 2015 08:43:57 +0000 (10 11:43 +0300)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 13 Apr 2015 08:32:25 +0000 (13 10:32 +0200)
tree7d442b8d8131e6d3dfcfc47a462a732278331a2c
parent06200b94b91cdf80d23a15de00145147ffd1174e
netsniff-ng: Consider radiotap header of monitor dev

netsniff-ng does not check if monitor device includes radiotap
header which leads to the wrong 802.11 frame parsing.

Tested if the .pcap file is understandable by wireshark and if
dump info is basically correct, but did not test the case when xmit
packets from .pcap file to the output device and from the input device
to the output device.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
[tklauser: whitespace changes]
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
dissector.c
linktype.h
netsniff-ng.c
pcap_io.h
pkt_buff.h
proto_80211_mac_hdr.c