mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-28 20:55:21 +00:00
Don't call if_up() here, just set IFF_UP.
PR: 12251 Reviewed by: wollman
This commit is contained in:
parent
c931dae17f
commit
24e9bc7fca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51254
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue