]> The Tcpdump Group git mirrors - tcpdump/commit
Fix printing of Linux cooked captures with monitor-mode packets.
authorGuy Harris <[email protected]>
Tue, 13 Nov 2018 06:03:49 +0000 (22:03 -0800)
committerGuy Harris <[email protected]>
Thu, 22 Nov 2018 00:05:55 +0000 (16:05 -0800)
commit25deea90c2ad85845eeb2227e583ef92ead9147e
tree571b8ccf7ed2ded3275b9279dacb684bd4662c57
parent43e3207195ce42830c1efbe051d4ab32994c0006
Fix printing of Linux cooked captures with monitor-mode packets.

Apparently, if you have an interface in monitor mode, capturing on the
"any" device can get packets that have a SLL hatype of 803, which is the
ARPHRD_ value for radiotap, and with the payload containing a radiotap
header, followed by an 802.11 header, followed by the 802.11 payload.
Handle that.

(backported from commit 83e419c6289a395a0443f2dac24bb004e839f202)
netdissect.h
print-802_11.c
print-sll.c