From: jsg Date: Tue, 13 Sep 2022 01:38:31 +0000 (+0000) Subject: SIOCDIFPARENT removes configuration not SIOCGIFPARENT X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b81cd588a5e79ae8cdf36971c7e7c3ca59b86598;p=openbsd SIOCDIFPARENT removes configuration not SIOCGIFPARENT spotted by kn@ --- diff --git a/share/man/man4/gre.4 b/share/man/man4/gre.4 index d8b9d9ec4d2..549d2998846 100644 --- a/share/man/man4/gre.4 +++ b/share/man/man4/gre.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gre.4,v 1.82 2022/09/12 09:18:30 jsg Exp $ +.\" $OpenBSD: gre.4,v 1.83 2022/09/13 01:38:31 jsg Exp $ .\" $NetBSD: gre.4,v 1.10 1999/12/22 14:55:49 kleink Exp $ .\" .\" Copyright 1998 (c) The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: September 12 2022 $ +.Dd $Mdocdate: September 13 2022 $ .Dt GRE 4 .Os .Sh NAME @@ -349,7 +349,7 @@ The parent interface may only be configured while the interface is down. .It Dv SIOCGIFPARENT Fa "struct if_parent *" Get the name of the interface used for multicast communication. -.It Dv SIOCGIFPARENT Fa "struct if_parent *" +.It Dv SIOCDIFPARENT Fa "struct ifreq *" Remove the configuration of the interface used for multicast communication. .\" bridge(4) ioctls should go here too. diff --git a/share/man/man4/vxlan.4 b/share/man/man4/vxlan.4 index 7a92aaf2a82..a22ca5d628b 100644 --- a/share/man/man4/vxlan.4 +++ b/share/man/man4/vxlan.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: vxlan.4,v 1.18 2022/09/12 09:18:30 jsg Exp $ +.\" $OpenBSD: vxlan.4,v 1.19 2022/09/13 01:38:31 jsg Exp $ .\" .\" Copyright (c) 2013 Reyk Floeter .\" @@ -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: September 12 2022 $ +.Dd $Mdocdate: September 13 2022 $ .Dt VXLAN 4 .Os .Sh NAME @@ -152,7 +152,7 @@ The parent interface may only be configured for interfaces in learning mode, and while the interface is down. .It Dv SIOCGIFPARENT Fa "struct if_parent *" Get the name of the interface used for multicast communication. -.It Dv SIOCGIFPARENT Fa "struct if_parent *" +.It Dv SIOCDIFPARENT Fa "struct ifreq *" Remove the configuration of the interface used for multicast communication. .El