Fix ethertype for NSH. RFC 8300 states ethertype 0x894F has been
authormbuhl <mbuhl@openbsd.org>
Thu, 23 Feb 2023 08:37:03 +0000 (08:37 +0000)
committermbuhl <mbuhl@openbsd.org>
Thu, 23 Feb 2023 08:37:03 +0000 (08:37 +0000)
allocated for NSH.
Found by bluhm.
ok dlg.

sys/net/ethertypes.h

index 7f7f217..ae517ff 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: ethertypes.h,v 1.16 2022/01/05 05:19:22 dlg Exp $     */
+/*     $OpenBSD: ethertypes.h,v 1.17 2023/02/23 08:37:03 mbuhl Exp $   */
 /*     $NetBSD: ethertypes.h,v 1.13 2002/02/10 01:28:32 thorpej Exp $  */
 
 /*
 #define        ETHERTYPE_LLDP          0x88CC  /* Link Layer Discovery Protocol */
 #define        ETHERTYPE_MACSEC        0x88e5  /* 802.1AE MACsec */
 #define        ETHERTYPE_PBB           0x88e7  /* 802.1Q Provider Backbone Bridging */
-#define        ETHERTYPE_NSH           0x984F  /* Network Service Header (RFC8300) */
+#define        ETHERTYPE_NSH           0x894F  /* Network Service Header (RFC8300) */
 #define        ETHERTYPE_LOOPBACK      0x9000  /* Loopback */
 #define        ETHERTYPE_LBACK         ETHERTYPE_LOOPBACK      /* DEC MOP loopback */
 #define        ETHERTYPE_XNSSM         0x9001  /* 3Com (Formerly Bridge Communications), XNS Systems Management */