summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-07-28 18:22:04 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-07-28 20:20:42 +0200
commit430dc89983c28aa57ca02b5702963c78218481a0 (patch)
treee1bc52cdd1e7a839baa0c1bb4df871bdd0281ae5
parentf72070a7e06da7dda20f5c762d32cd286d6c297a (diff)
downloadtcpdump-430dc89983c28aa57ca02b5702963c78218481a0.tar.gz
Sync the Ethernet protocols database with the libpcap one
Commits in libpcap: 23a2d990d9bce2123e4f6c39bee6f61c9617a3b5 (Fix "unknown ether proto 'aarp'") and e902b3e97418c4b11caa07f71d0deae8a5e726de (Remove undocumented and rather old "ether proto" protocols)
-rw-r--r--addrtoname.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/addrtoname.c b/addrtoname.c
index d346ec26..3252f935 100644
--- a/addrtoname.c
+++ b/addrtoname.c
@@ -847,26 +847,18 @@ static const struct eproto {
const char *s;
u_short p;
} eproto_db[] = {
+ { "aarp", ETHERTYPE_AARP },
{ "arp", ETHERTYPE_ARP },
{ "atalk", ETHERTYPE_ATALK },
- { "atalkarp", ETHERTYPE_AARP },
- { "decdns", ETHERTYPE_DECDNS },
- { "decdts", ETHERTYPE_DECDTS },
{ "decnet", ETHERTYPE_DN },
{ "ip", ETHERTYPE_IP },
{ "ip6", ETHERTYPE_IPV6 },
- { "lanbridge", ETHERTYPE_LANBRIDGE },
{ "lat", ETHERTYPE_LAT },
{ "loopback", ETHERTYPE_LOOPBACK },
{ "mopdl", ETHERTYPE_MOPDL },
{ "moprc", ETHERTYPE_MOPRC },
- { "pup", ETHERTYPE_PUP },
{ "rarp", ETHERTYPE_REVARP },
{ "sca", ETHERTYPE_SCA },
- { "sprite", ETHERTYPE_SPRITE },
- { "vexp", ETHERTYPE_VEXP },
- { "vprod", ETHERTYPE_VPROD },
- { "xns", ETHERTYPE_NS },
{ (char *)0, 0 }
};