diff options
| author | msaitoh <msaitoh@NetBSD.org> | 2021-12-10 01:18:29 +0000 |
|---|---|---|
| committer | msaitoh <msaitoh@NetBSD.org> | 2021-12-10 01:18:29 +0000 |
| commit | 554e0151516a4e55f2b079dfd7b7144d9cae82dd (patch) | |
| tree | 443dc1b16046bfb4f116203b46d6d418137881db | |
| parent | cab22ce7562c66423465b8423abf20a8f02d34b3 (diff) | |
Add comment to clarify.
| -rw-r--r-- | sys/net/if_ethersubr.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <sys/cdefs.h> -__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 } |
