Module Name: src
Committed By: msaitoh
Date: Wed Nov 22 05:17:33 UTC 2017
Modified Files:
src/sys/net: if_vlan.c
Log Message:
s/65535/4095/ in the comment. Pointed out by christos. Thanks.
To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/sys/net/if_vlan.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/if_vlan.c
diff -u src/sys/net/if_vlan.c:1.111 src/sys/net/if_vlan.c:1.112
--- src/sys/net/if_vlan.c:1.111 Wed Nov 22 04:56:52 2017
+++ src/sys/net/if_vlan.c Wed Nov 22 05:17:32 2017
@@ -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 @@ vlan_config(struct ifvlan *ifv, struct i
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;