From 47a7037955bfa7405a0a676f214c26d136b8ca9a Mon Sep 17 00:00:00 2001 From: Vadim Kochan Date: Fri, 10 Apr 2015 11:43:57 +0300 Subject: 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 [tklauser: whitespace changes] Signed-off-by: Tobias Klauser --- pkt_buff.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pkt_buff.h') diff --git a/pkt_buff.h b/pkt_buff.h index 3376107..1350388 100644 --- a/pkt_buff.h +++ b/pkt_buff.h @@ -20,6 +20,7 @@ struct pkt_buff { unsigned int size; struct protocol *proto; + int link_type; }; static inline struct pkt_buff *pkt_alloc(uint8_t *packet, unsigned int len) -- cgit v1.2.3-54-g00ecf