]> 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]>
Tue, 13 Nov 2018 06:03:49 +0000 (22:03 -0800)
commit83e419c6289a395a0443f2dac24bb004e839f202
tree924258052a5499c3561ad33da5092c57a9667220
parent185f90fe428d99d0906adc5dbc617c95b3b8463b
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.
netdissect.h
print-802_11.c
print-sll.c