bridgestp: Ensure we send STP on VLAN interfaces

Reviewed by:	donner@
MFC after:	1 week
X-MFC-with:	711ed156b9
Sponsored by:	Orange Business Services
Differential Revision:	https://reviews.freebsd.org/D28916
This commit is contained in:
Kristof Provost 2021-02-24 16:38:53 +01:00
parent f3245be349
commit f5537cd069

View File

@ -2052,7 +2052,7 @@ bstp_reinit(struct bstp_state *bs)
*/
NET_EPOCH_ENTER(et);
CK_STAILQ_FOREACH(ifp, &V_ifnet, if_link) {
if (ifp->if_type != IFT_ETHER)
if (ifp->if_type != IFT_ETHER && ifp->if_type != IFT_L2VLAN)
continue; /* Not Ethernet */
if (ifp->if_bridge != bridgeptr)