]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Sync the Ethernet protocols database with the libpcap one
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 28 Jul 2020 16:22:04 +0000 (18:22 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 28 Jul 2020 18:20:42 +0000 (20:20 +0200)
Commits in libpcap:
23a2d990d9bce2123e4f6c39bee6f61c9617a3b5
(Fix "unknown ether proto 'aarp'")
and
e902b3e97418c4b11caa07f71d0deae8a5e726de
(Remove undocumented and rather old "ether proto" protocols)

addrtoname.c

index d346ec26a2de2e2b457c513cddf3d3c104ddb1ed..3252f93564ca64fe7cb42a22bf9c4c94cbc3dd30 100644 (file)
@@ -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 }
 };