From c5d243a03e03087540bb2fca35aafd674540f1c3 Mon Sep 17 00:00:00 2001 From: mbuhl Date: Thu, 23 Feb 2023 08:37:03 +0000 Subject: [PATCH] Fix ethertype for NSH. RFC 8300 states ethertype 0x894F has been allocated for NSH. Found by bluhm. ok dlg. --- sys/net/ethertypes.h | 4 ++-- 1 file 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 */ -- 2.20.1