The bridge cant hear its own transmissions so set IFF_SIMPLEX.

PR:		kern/102361
Tested by:	Radim Kolar <hsn@netmag.cz>
MFC after:	3 days
This commit is contained in:
thompsa 2006-08-25 20:11:56 +00:00
parent f58a78e801
commit 3289f04db9

View File

@ -540,7 +540,7 @@ bridge_clone_create(struct if_clone *ifc, int unit, caddr_t params)
ifp->if_softc = sc;
if_initname(ifp, ifc->ifc_name, unit);
ifp->if_flags = IFF_BROADCAST | IFF_MULTICAST;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = bridge_ioctl;
ifp->if_start = bridge_start;
ifp->if_init = bridge_init;