1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103709

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;