summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>1999-09-14 01:17:30 +0000
committerru <ru@FreeBSD.org>1999-09-14 01:17:30 +0000
commit1b16c12a1df6ca00fb74f6ec8577abb64566f501 (patch)
tree3191aa36c7fea65d079de22a8f7e6ba8d75f3a49 /sys
parent4e8bd1484464f78417e6cf527cfdbe4be58f40bd (diff)
downloadFreeBSD-src-1b16c12a1df6ca00fb74f6ec8577abb64566f501.zip
FreeBSD-src-1b16c12a1df6ca00fb74f6ec8577abb64566f501.tar.gz
Don't call if_up() here, just set IFF_UP.
PR: 12251 Reviewed by: wollman
Diffstat (limited to 'sys')
-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