summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_sl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c
index 74aad17..06d9598 100644
--- a/sys/net/if_sl.c
+++ b/sys/net/if_sl.c
@@ -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;
}
OpenPOWER on IntegriCloud