X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/35043f35074d36504889fb0f8542632005531c2e..c67afe913011138a2504ec4d3d423b48e73b12f3:/print-ether.c?ds=sidebyside diff --git a/print-ether.c b/print-ether.c index 366ad14f..49e7803c 100644 --- a/print-ether.c +++ b/print-ether.c @@ -76,6 +76,7 @@ const struct tok ethertype_values[] = { { ETHERTYPE_GRE_ISO, "GRE-OSI" }, { ETHERTYPE_CFM_OLD, "CFM (old)" }, { ETHERTYPE_CFM, "CFM" }, + { ETHERTYPE_IEEE1905_1, "IEEE1905.1" }, { ETHERTYPE_LLDP, "LLDP" }, { ETHERTYPE_TIPC, "TIPC"}, { ETHERTYPE_GEONET_OLD, "GeoNet (old)"}, @@ -325,11 +326,9 @@ ethertype_print(netdissect_options *ndo, ip_print(ndo, p, length); return (1); -#ifdef INET6 case ETHERTYPE_IPV6: ip6_print(ndo, p, length); return (1); -#endif /*INET6*/ case ETHERTYPE_ARP: case ETHERTYPE_REVARP: @@ -432,6 +431,7 @@ ethertype_print(netdissect_options *ndo, case ETHERTYPE_SCA: case ETHERTYPE_MOPRC: case ETHERTYPE_MOPDL: + case ETHERTYPE_IEEE1905_1: /* default_print for now */ default: return (0);