Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2025 01:19:36 GMT
From:      Alexander Ziaee <ziaee@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 7ba0d890903b - stable/14 - bridge.4: Remove incorrect line + polish
Message-ID:  <202502270119.51R1Ja6a056412@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=7ba0d890903b6ad9ed17a873c373e68c2e763576

commit 7ba0d890903b6ad9ed17a873c373e68c2e763576
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2025-02-24 17:28:51 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
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 <antranigv@freebsd.am>
    Reported by:            Jan Bramkamp <crest+freebsd@rlwinm.de>
    Reported by:            Niclas <buero28@icloud.com>
    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502270119.51R1Ja6a056412>