mistakenly set IFF_UP by SIOCSIFPHYADDR.

Obtained from:	KAME
This commit is contained in:
Hajimu UMEMOTO 2002-09-20 18:21:46 +00:00
parent 812967db72
commit a62f34e3c4

View File

@ -521,7 +521,6 @@ gif_ioctl(ifp, cmd, data)
int error = 0, size;
struct sockaddr *dst, *src;
struct sockaddr *sa;
int s;
struct ifnet *ifp2;
struct gif_softc *sc2;
@ -698,9 +697,6 @@ gif_ioctl(ifp, cmd, data)
sc->gif_pdst = sa;
ifp->if_flags |= IFF_RUNNING;
s = splimp();
if_up(ifp); /* mark interface UP and send up RTM_IFINFO */
splx(s);
error = 0;
break;