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 5a0d9605a4)
This commit is contained in:
Alexander Ziaee 2025-02-24 12:28:51 -05:00
parent cf522ceef8
commit 7ba0d89090
No known key found for this signature in database
GPG key ID: 0A8F850BCDEF4511

View file

@ -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