Don't call if_up() here, just set IFF_UP.

PR:		12251
Reviewed by:	wollman
This commit is contained in:
Ruslan Ermilov 1999-09-14 01:17:30 +00:00
parent c931dae17f
commit 24e9bc7fca
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51254

View file

@ -975,7 +975,7 @@ slioctl(ifp, cmd, data)
*/
if (ifa->ifa_addr->sa_family == AF_INET) {
if (sl_softc[ifp->if_unit].sc_ttyp != NULL)
if_up(ifp);
ifp->if_flags |= IFF_UP;
} else {
error = EAFNOSUPPORT;
}