mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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