summaryrefslogtreecommitdiff
path: root/sys/netinet6/nd6_rtr.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2013-03-07 09:40:20 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2013-03-07 09:40:20 +0000
commite04702a5facd0667c53b525c5fbd226f50d2c3ad (patch)
tree37b6ded3e9f23112e3903249db3aee052af10508 /sys/netinet6/nd6_rtr.c
parent799b60fe8d7f2072745d9d4eb23580e8d96feb2b (diff)
Remove unused ifa_ifwithaf() function.
ok mikeb@, miod@
Diffstat (limited to 'sys/netinet6/nd6_rtr.c')
-rw-r--r--sys/netinet6/nd6_rtr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet6/nd6_rtr.c b/sys/netinet6/nd6_rtr.c
index 953911309c0..a1fd026c7db 100644
--- a/sys/netinet6/nd6_rtr.c
+++ b/sys/netinet6/nd6_rtr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6_rtr.c,v 1.66 2013/03/04 14:42:25 bluhm Exp $ */
+/* $OpenBSD: nd6_rtr.c,v 1.67 2013/03/07 09:40:19 mpi Exp $ */
/* $KAME: nd6_rtr.c,v 1.97 2001/02/07 11:09:13 itojun Exp $ */
/*
@@ -1598,7 +1598,6 @@ nd6_prefix_onlink(struct nd_prefix *pr)
ifa = &in6ifa_ifpforlinklocal(ifp,
IN6_IFF_NOTREADY | IN6_IFF_ANYCAST)->ia_ifa;
if (ifa == NULL) {
- /* XXX: freebsd does not have ifa_ifwithaf */
TAILQ_FOREACH(ifa, &ifp->if_addrlist, ifa_list) {
if (ifa->ifa_addr->sa_family == AF_INET6)
break;