diff --git a/epan/dissectors/packet-eth.c b/epan/dissectors/packet-eth.c index ee21441ac6..361591c7b2 100644 --- a/epan/dissectors/packet-eth.c +++ b/epan/dissectors/packet-eth.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -1161,6 +1162,7 @@ proto_reg_handoff_eth(void) dissector_add_uint("erf.types.type", ERF_TYPE_COLOR_ETH, eth_maybefcs_handle); dissector_add_uint("erf.types.type", ERF_TYPE_DSM_COLOR_ETH, eth_maybefcs_handle); dissector_add_uint("erf.types.type", ERF_TYPE_COLOR_HASH_ETH, eth_maybefcs_handle); + dissector_add_uint("ip.proto", IP_PROTO_ETHERNET, eth_maybefcs_handle); dissector_add_uint("chdlc.protocol", ETHERTYPE_ETHBRIDGE, eth_withoutfcs_handle); dissector_add_uint("gre.proto", ETHERTYPE_ETHBRIDGE, eth_withoutfcs_handle); diff --git a/epan/ipproto.c b/epan/ipproto.c index 9e0c1d8b63..3b9511490b 100644 --- a/epan/ipproto.c +++ b/epan/ipproto.c @@ -165,7 +165,7 @@ static const value_string ipproto_val[] = { { IP_PROTO_SHIM6, "Shim6 header" }, /* 140 Shim6 Shim6 Protocol [RFC5533] */ { IP_PROTO_WESP, "WESP" }, /* 141 WESP Wrapped Encapsulating Security Payload [RFC5840] */ { IP_PROTO_ROHC, "ROHC" }, /* 142 ROHC Robust Header Compression [RFC5858] */ - { 143, "Unassigned" }, /* 143 Unassigned */ + { IP_PROTO_ETHERNET,"Ethernet" }, /* 143 Ethernet [RFC8986] */ { 144, "Unassigned" }, /* 144 Unassigned */ { 145, "Unassigned" }, /* 145 Unassigned */ { 146, "Unassigned" }, /* 146 Unassigned */ diff --git a/epan/ipproto.h b/epan/ipproto.h index 31c5d18aeb..a3c8513683 100644 --- a/epan/ipproto.h +++ b/epan/ipproto.h @@ -175,6 +175,7 @@ #define IP_PROTO_SHIM6 140 /* Shim6 Protocol */ #define IP_PROTO_WESP 141 /* 141 WESP Wrapped Encapsulating Security Payload [RFC5840] */ #define IP_PROTO_ROHC 142 /* 142 ROHC Robust Header Compression [RFC5858] */ +#define IP_PROTO_ETHERNET 143 /* Ethernet [RFC8986] */ #define IP_PROTO_AX4000 173 /* AX/4000 Testblock - non IANA */ #define IP_PROTO_NCS_HEARTBEAT 224 /* Novell NCS Heartbeat - http://support.novell.com/cgi-bin/search/searchtid.cgi?/10071158.htm */