diff options
| author | Alexander Ziaee <ziaee@FreeBSD.org> | 2025-02-24 17:28:51 +0000 |
|---|---|---|
| committer | Alexander Ziaee <ziaee@FreeBSD.org> | 2025-02-24 17:30:53 +0000 |
| commit | 5a0d9605a44bf39402211e009365f1043faa2b0b (patch) | |
| tree | d42d6792f0d9e6074072b9834932f5f95b64280e | |
| parent | f4727eca405763dd1feb4ca3e17be40c2da337de (diff) | |
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
| -rw-r--r-- | share/man/man4/bridge.4 | 19 |
1 files 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 |
