From 554e0151516a4e55f2b079dfd7b7144d9cae82dd Mon Sep 17 00:00:00 2001 From: msaitoh Date: Fri, 10 Dec 2021 01:18:29 +0000 Subject: Add comment to clarify. --- sys/net/if_ethersubr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index a32b7cb7a95..2848be7ce6d 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_ethersubr.c,v 1.306 2021/11/30 01:17:02 yamaguchi Exp $ */ +/* $NetBSD: if_ethersubr.c,v 1.307 2021/12/10 01:18:29 msaitoh Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -61,7 +61,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.306 2021/11/30 01:17:02 yamaguchi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.307 2021/12/10 01:18:29 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -901,6 +901,7 @@ ether_input(struct ifnet *ifp, struct mbuf *m) ether_input_llc(ifp, m, eh); return; #else + /* ethertype of 0-1500 is regarded as noproto */ goto noproto; #endif } -- cgit