From 2f31b2fa07bd3d2ee83b1a508fc4b9e2a595900b Mon Sep 17 00:00:00 2001 From: Lawrence Teo Date: Sun, 18 Mar 2018 03:37:52 +0000 Subject: The max vnetid that can be set via SIOCSVNETID is 4094, not 4095. Spotted by Bryce Chidester. ok dlg@ jmc@ --- share/man/man4/vlan.4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share') diff --git a/share/man/man4/vlan.4 b/share/man/man4/vlan.4 index b943cbbd0dc..13b7e714ccd 100644 --- a/share/man/man4/vlan.4 +++ b/share/man/man4/vlan.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: vlan.4,v 1.46 2017/06/09 01:39:07 dlg Exp $ +.\" $OpenBSD: vlan.4,v 1.47 2018/03/18 03:37:51 lteo Exp $ .\" .\" Copyright (c) 2000 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 9 2017 $ +.Dd $Mdocdate: March 18 2018 $ .Dt VLAN 4 .Os .Sh NAME @@ -108,7 +108,7 @@ The parent may only be removed while the virtual interface is administratively down. .It Dv SIOCSVNETID Fa "struct ifreq *" Set the virtual network identifier. -Valid identifiers are in the range 1 to 4095. +Valid identifiers are in the range 1 to 4094. .It Dv SIOCGVNETID Fa "struct if_parent *" Get the currently configured virtual network identifier. .It Dv SIOCDVNETID Fa "struct ifreq *" -- cgit v1.2.3