summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-06-19 16:24:10 +0000
committerwollman <wollman@FreeBSD.org>1996-06-19 16:24:10 +0000
commite5096c3c77e9d289b60b6f080e5a770f108247c1 (patch)
tree417d31cffe4ec1d315e2a6f843af7faf40dfc3c4
parent9eb36038bff0d326ac500aee37f4d63b7796715a (diff)
downloadFreeBSD-src-e5096c3c77e9d289b60b6f080e5a770f108247c1.zip
FreeBSD-src-e5096c3c77e9d289b60b6f080e5a770f108247c1.tar.gz
Set IFF_RUNNING on the loopback interface.
-rw-r--r--sys/net/if_loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c
index dfe22e1..847912e 100644
--- a/sys/net/if_loop.c
+++ b/sys/net/if_loop.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if_loop.c 8.1 (Berkeley) 6/10/93
- * $Id: if_loop.c,v 1.20 1996/05/24 01:35:10 julian Exp $
+ * $Id: if_loop.c,v 1.21 1996/06/10 23:07:31 gpalmer Exp $
*/
/*
@@ -262,7 +262,7 @@ loioctl(ifp, cmd, data)
switch (cmd) {
case SIOCSIFADDR:
- ifp->if_flags |= IFF_UP;
+ ifp->if_flags |= IFF_UP | IFF_RUNNING;
ifa = (struct ifaddr *)data;
ifa->ifa_rtrequest = lortrequest;
/*
OpenPOWER on IntegriCloud