]> The Tcpdump Group git mirrors - libpcap/commit
Use gen_linktype() for VLAN EtherType check.
authorJesse Gross <[email protected]>
Fri, 6 Feb 2015 02:31:39 +0000 (18:31 -0800)
committerGuy Harris <[email protected]>
Fri, 6 Feb 2015 02:31:39 +0000 (18:31 -0800)
commita4448685e5ac275af465988c470cb93d47e868e8
treebd59185545f04e38071993fb108d34a03a3b808c
parent16201f0efa312cca04a8e5044ffedf1734f30580
Use gen_linktype() for VLAN EtherType check.

Directly using off_linktype to match the VLAN EtherType only
works for basic Ethernet cases. Instead we can use gen_linktype()
which is more general and is more likely to be updated to handle
future protocols.
CREDITS
gencode.c