From nobody Thu Feb 27 01:19:36 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Z3D5h4nggz5pNNv; Thu, 27 Feb 2025 01:19:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z3D5h2Wyrz41VD; Thu, 27 Feb 2025 01:19:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740619176; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jnjN/VEbnMZPLLRcsoDCWJTwQPssteCiP6qb9db1D4M=; b=heu8SmzGPQJ+iXXamWcOGvH8MFhHSiB2bkwRBgP7nZs9y8LCz4QWl+fPS3DR5bx3r8n7as s6W4MIv4qhPWbJFKtIBVUN87mRHHQk9jTm0lgYk+O+V6ez7CUiulRxmUlcvpJWaAzKkmoU lQDxuK0zOewWmRie8fHQAyn/YWSM5l6Ii/gngmN3ATK/fInKCg8EDV45ddV2ADa0tV+9cq UZzWRcy4Ml6AbdGjcVlhX+YFfFOFBuzgxlvioX+IEAAeZST8Vq47Cm2Ul/0HpmT9Ni4soi 3Dj4sG/Dd1rrFVDDa61f4LTaBKiF5Yk5gzJl2TmkS+y+8uYgwyJ8Q2JkkA7Xpg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1740619176; a=rsa-sha256; cv=none; b=TJGAMpSj9PU75SOGtWM+h5asAMEj7tPMa1Klt57fznRmSUiO1Fq03DZ6H0BF6/f6qDRNOd CY7u3M38CNE3uzti4nxxyTIK289GFjRIPfKoOyex3gTmYbaR62otZ32QhVpy/g3XFLrKLx xp6cyQrlItozq2SxWT8BlovINngQSkL7PyGwRC1Z61v5Hj6PTjhfk5xyDxDMMiZnJHfEOR wDqk9FJChFaOyZNiKGBU8YgvIPc/NrJN6k9m29g0+KUTC2lnluM0YDQHtEXRWozeCABqjL jmW9cJRwixO5UfyW56kAkV46b2XXA32te066Dr7bgQRmagtZNFxwUOB+cAoVuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740619176; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jnjN/VEbnMZPLLRcsoDCWJTwQPssteCiP6qb9db1D4M=; b=gCUbyLtcrTQWZb5bWMGS2+g2cTxhJGF3NJnbrFutqseX7WGi4xmCv2lA0YvEVVAXMPVZTq ExGdJyZg+PsHdjsDmwGPBmB81y9qOFgnuAQA3V8Drted8a4z45mKD/60nKGg6L3U/JqFhi f+uIFKP3V9A9YY4b8EA43F9YVCEf8VzIR7uEEExAxDzEDBPFc4ZltDw404sGctyyV6Q59s qCANqgCuwFGDisuNIq42sguI0ChllSOzKjS1HiZq2WVmAADbYQcsqGC4kec7V99CO5HmgK 8i9PN+qfhj7mkyW1Qv0h6DmX1tYvOjUAIphi+PgdywbRa362KfiXblBsi4CMqA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Z3D5h1ngfz5lV; Thu, 27 Feb 2025 01:19:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 51R1JarN056415; Thu, 27 Feb 2025 01:19:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 51R1Ja6a056412; Thu, 27 Feb 2025 01:19:36 GMT (envelope-from git) Date: Thu, 27 Feb 2025 01:19:36 GMT Message-Id: <202502270119.51R1Ja6a056412@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Ziaee Subject: git: 7ba0d890903b - stable/14 - bridge.4: Remove incorrect line + polish List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 7ba0d890903b6ad9ed17a873c373e68c2e763576 Auto-Submitted: auto-generated The branch stable/14 has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=7ba0d890903b6ad9ed17a873c373e68c2e763576 commit 7ba0d890903b6ad9ed17a873c373e68c2e763576 Author: Alexander Ziaee AuthorDate: 2025-02-24 17:28:51 +0000 Commit: Alexander Ziaee CommitDate: 2025-02-27 01:15:07 +0000 bridge.4: Remove incorrect line + polish In an AMA on Community Discord, it was revealed that simply setting a bridge to up is not equivelant to setting it as "inet6 auto_linklocal". Remove the incorrect line, and while here: + reset sysctl list width to indent, saving 2/13 lines on MANWIDTH 59/80 + tag spdx + break two long lines over 80 characters MFC after: 3 days Reported by: Antranig Vartanian Reported by: Jan Bramkamp Reported by: Niclas Approved by: mhorne (mentor) Differential Revision: https://reviews.freebsd.org/D48981 (cherry picked from commit 5a0d9605a44bf39402211e009365f1043faa2b0b) --- share/man/man4/bridge.4 | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/share/man/man4/bridge.4 b/share/man/man4/bridge.4 index 31a0ce43a263..b741ec0b73c8 100644 --- a/share/man/man4/bridge.4 +++ b/share/man/man4/bridge.4 @@ -1,3 +1,6 @@ +.\" +.\" SPDX-License-Identifier: BSD-4-Clause +.\" .\" $NetBSD: bridge.4,v 1.5 2004/01/31 20:14:11 jdc Exp $ .\" .\" Copyright 2001 Wasabi Systems, Inc. @@ -33,7 +36,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd April 10, 2023 +.Dd April 10, 2024 .Dt IF_BRIDGE 4 .Os .Sh NAME @@ -125,7 +128,8 @@ variable to .Li 0 . .Pp -All the bridged member interfaces need to be up in order to pass network traffic. +All the bridged member interfaces need to be up +in order to pass network traffic. These can be enabled using .Xr ifconfig 8 or @@ -165,11 +169,6 @@ variable configures an IPv6 link-local address on .Li bridge0 interface: .Bd -literal -offset indent -ifconfig_bridge0_ipv6="up" -.Ed -.Pp -or in a more explicit manner: -.Bd -literal -offset indent ifconfig_bridge0_ipv6="inet6 auto_linklocal" .Ed .Pp @@ -261,7 +260,7 @@ the appropriate interfaces. Either stage can be disabled. The filtering behavior can be controlled using .Xr sysctl 8 : -.Bl -tag -width ".Va net.link.bridge.pfil_onlyip" +.Bl -tag -width indent .It Va net.link.bridge.pfil_onlyip Controls the handling of non-IP packets which are not passed to .Xr pfil 9 . @@ -470,8 +469,8 @@ ifconfig_fxp0="up" .Ed .Pp Consider a system with two 4-port Ethernet boards. -The following will cause a bridge consisting of all 8 ports with Rapid Spanning -Tree enabled to be created: +The following will cause a bridge consisting of all 8 ports with +Rapid Spanning Tree enabled to be created: .Bd -literal -offset indent ifconfig bridge0 create ifconfig bridge0 \e