From b38fa04b1b4322c88c256fbfb8e7a8f4e4c80d57 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 12 Sep 2022 09:15:29 +0000 Subject: [PATCH] SIOCGVNETID uses struct ifreq not if_parent ok jmc@ --- share/man/man4/bpe.4 | 6 +++--- share/man/man4/vlan.4 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/share/man/man4/bpe.4 b/share/man/man4/bpe.4 index 8df2b82efb4..4bea103fb39 100644 --- a/share/man/man4/bpe.4 +++ b/share/man/man4/bpe.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bpe.4,v 1.5 2022/01/01 08:01:27 jsg Exp $ +.\" $OpenBSD: bpe.4,v 1.6 2022/09/12 09:15:29 jsg Exp $ .\" .\" Copyright (c) 2018 David Gwynne .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 1 2022 $ +.Dd $Mdocdate: September 12 2022 $ .Dt BPE 4 .Os .Sh NAME @@ -130,7 +130,7 @@ administratively down. .It Dv SIOCSVNETID Fa "struct ifreq *" Set the virtual network identifier. Valid identifiers are 24-bit values in the range 0 to 16777215. -.It Dv SIOCGVNETID Fa "struct if_parent *" +.It Dv SIOCGVNETID Fa "struct ifreq *" Get the currently configured virtual network identifier. .El .Sh SEE ALSO diff --git a/share/man/man4/vlan.4 b/share/man/man4/vlan.4 index 78b6691213e..5b0a569daf2 100644 --- a/share/man/man4/vlan.4 +++ b/share/man/man4/vlan.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: vlan.4,v 1.52 2022/03/31 17:27:21 naddy Exp $ +.\" $OpenBSD: vlan.4,v 1.53 2022/09/12 09:15:29 jsg 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: March 31 2022 $ +.Dd $Mdocdate: September 12 2022 $ .Dt VLAN 4 .Os .Sh NAME @@ -114,7 +114,7 @@ administratively down. .It Dv SIOCSVNETID Fa "struct ifreq *" Set the virtual network identifier. Valid identifiers are in the range 1 to 4094. -.It Dv SIOCGVNETID Fa "struct if_parent *" +.It Dv SIOCGVNETID Fa "struct ifreq *" Get the currently configured virtual network identifier. .It Dv SIOCDVNETID Fa "struct ifreq *" Clear the current virtual network identifier. -- 2.20.1