summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-ethertype.c3
-rw-r--r--etypes.h6
2 files changed, 7 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ethertype.c b/epan/dissectors/packet-ethertype.c
index deadc9a4d9..f1219e25a5 100644
--- a/epan/dissectors/packet-ethertype.c
+++ b/epan/dissectors/packet-ethertype.c
@@ -84,10 +84,11 @@ const value_string etype_vals[] = {
{ETHERTYPE_DEC_SCA, "DEC LAVC/SCA" },
{ETHERTYPE_ETHBRIDGE, "Transparent Ethernet bridging" },
{ETHERTYPE_CGMP, "Cisco Group Management Protocol" },
+ {ETHERTYPE_MAC_CONTROL, "MAC Control" },
{ETHERTYPE_SLOW_PROTOCOLS, "Slow Protocols" },
{ETHERTYPE_RTNET, "RTNET Protocol" },
{ETHERTYPE_RTCFG, "RTCFG Protocol" },
- {ETHERTYPE_PROFINET, "PROFInet" },
+ {ETHERTYPE_PROFINET, "PROFInet" },
/*
* NDISWAN on Windows translates Ethernet frames from higher-level
diff --git a/etypes.h b/etypes.h
index 185aace66e..0f9811417b 100644
--- a/etypes.h
+++ b/etypes.h
@@ -168,8 +168,12 @@
#define ETHERTYPE_IPv6 0x86dd
#endif
+#ifndef ETHERTYPE_MAC_CONTROL
+#define ETHERTYPE_MAC_CONTROL 0x8808
+#endif
+
#ifndef ETHERTYPE_SLOW_PROTOCOLS
-#define ETHERTYPE_SLOW_PROTOCOLS 0x8809
+#define ETHERTYPE_SLOW_PROTOCOLS 0x8809
#endif
#ifndef ETHERTYPE_PPP