summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Buhl <mbuhl@cvs.openbsd.org>2023-02-23 08:37:04 +0000
committerMoritz Buhl <mbuhl@cvs.openbsd.org>2023-02-23 08:37:04 +0000
commit642b28e92e0b3eacba73f71f7761785958624e9b (patch)
tree18f8c6ed7f2142ff88d74119ebe913aa8e1a001d
parent50a0a7acd65bb0a597bcc49a974a49dfe82180aa (diff)
Fix ethertype for NSH. RFC 8300 states ethertype 0x894F has been
allocated for NSH. Found by bluhm. ok dlg.
-rw-r--r--sys/net/ethertypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/ethertypes.h b/sys/net/ethertypes.h
index 7f7f217ab4c..ae517ff7f92 100644
--- a/sys/net/ethertypes.h
+++ b/sys/net/ethertypes.h
@@ -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 $ */
/*
@@ -305,7 +305,7 @@
#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 */