summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorLawrence Teo <lteo@cvs.openbsd.org>2018-03-18 03:37:52 +0000
committerLawrence Teo <lteo@cvs.openbsd.org>2018-03-18 03:37:52 +0000
commit2f31b2fa07bd3d2ee83b1a508fc4b9e2a595900b (patch)
treed80102bb34ad977526342f677d6a8fd71684c0b7 /share
parent954a59a66868620055a4ca31645c4ee64e56a3e8 (diff)
The max vnetid that can be set via SIOCSVNETID is 4094, not 4095.
Spotted by Bryce Chidester. ok dlg@ jmc@
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/vlan.46
1 files changed, 3 insertions, 3 deletions
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 *"