Force this interface to be RUNNING.

This commit is contained in:
Gleb Smirnoff 2005-11-11 11:17:57 +00:00
parent 62e698b51d
commit d314617e8a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152308

View File

@ -93,6 +93,7 @@ disc_clone_create(struct if_clone *ifc, int unit)
if_initname(ifp, ifc->ifc_name, unit);
ifp->if_mtu = DSMTU;
ifp->if_flags = IFF_LOOPBACK | IFF_MULTICAST;
ifp->if_drv_flags = IFF_DRV_RUNNING;
ifp->if_ioctl = discioctl;
ifp->if_output = discoutput;
ifp->if_hdrlen = 0;