Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net s/65535/4095/ in the comment. Pointed out by christo...



details:   https://anonhg.NetBSD.org/src/rev/cba37b86f133
branches:  trunk
changeset: 357704:cba37b86f133
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Nov 22 05:17:32 2017 +0000

description:
s/65535/4095/ in the comment. Pointed out by christos. Thanks.

diffstat:

 sys/net/if_vlan.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5e2d54fd89ca -r cba37b86f133 sys/net/if_vlan.c
--- a/sys/net/if_vlan.c Wed Nov 22 04:56:52 2017 +0000
+++ b/sys/net/if_vlan.c Wed Nov 22 05:17:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_vlan.c,v 1.111 2017/11/22 04:56:52 msaitoh Exp $    */
+/*     $NetBSD: if_vlan.c,v 1.112 2017/11/22 05:17:32 msaitoh Exp $    */
 
 /*-
  * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vlan.c,v 1.111 2017/11/22 04:56:52 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vlan.c,v 1.112 2017/11/22 05:17:32 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -415,7 +415,7 @@
        bool omib_cleanup = false;
        struct psref psref;
 
-       /* VLAN ID 0 and 65535 are reserved in the spec */
+       /* VLAN ID 0 and 4095 are reserved in the spec */
        if ((vid == 0) || (vid == 0xfff))
                return EINVAL;
 



Home | Main Index | Thread Index | Old Index