HomeFreeBSD

ifconfig: add static bridge addresses for vlan 0, not 1

Description

ifconfig: add static bridge addresses for vlan 0, not 1

Since fd7edfcdc3 ("bridge: fix lookup for untagged packets in
bridge_transmit()") and b0e38a1373 ("bridge: distinguish no vlan and
vlan 1") we do a better job of distinguishing between untagged and VLAN
1 traffic.

However, ifconfig still defaulted to adding addresses for VLAN 1, rather
than for untagged traffic. Change this to be the most common (i.e.
untagged) option.

Reviewed by: zlei, philip
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D42188

Details

Provenance
kpAuthored on Oct 13 2023, 10:34 AM
Reviewer
zlei
Differential Revision
D42188: ifconfig: add static bridge addresses for vlan 0, not 1
Parents
rGf34c9c4e3bdc: veriexec: Correctly export symbols
Branches
Unknown
Tags
Unknown