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.

Approved by: re (kib)
Reviewed by: zlei, philip
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D42188

(cherry picked from commit 6ace92326f3cc4bbee9b74f6b656cb13699a78a2)
(cherry picked from commit ce3ab9dfee304d335b4307c35e77407771d6cc3f)

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
rG9103c2f0ce27: releng-gce: Add ZFS support to GCE image buliding and uploading
Branches
Unknown
Tags
Unknown