summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_src.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6/in6_src.c')
-rw-r--r--sys/netinet6/in6_src.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/netinet6/in6_src.c b/sys/netinet6/in6_src.c
index 07c9870e04e..061878abe12 100644
--- a/sys/netinet6/in6_src.c
+++ b/sys/netinet6/in6_src.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_src.c,v 1.8 2000/06/21 09:07:24 itojun Exp $ */
+/* $OpenBSD: in6_src.c,v 1.9 2001/02/06 00:22:23 mickey Exp $ */
/* $KAME: in6_src.c,v 1.27 2000/06/21 08:07:13 itojun Exp $ */
/*
@@ -90,10 +90,6 @@
#include <netinet6/ip6_var.h>
#include <netinet6/nd6.h>
-#include "loop.h"
-
-extern struct ifnet loif[NLOOP];
-
/*
* Return an IPv6 address, which is the most appropriate for given
* destination and user specified options.
@@ -189,7 +185,7 @@ in6_selectsrc(dstsock, opts, mopts, ro, laddr, errorp)
struct ifnet *ifp = mopts ? mopts->im6o_multicast_ifp : NULL;
if (ifp == NULL && IN6_IS_ADDR_MC_NODELOCAL(dst)) {
- ifp = &loif[0];
+ ifp = lo0ifp;
}
if (ifp) {