diff options
Diffstat (limited to 'sys/netinet6/in6.c')
-rw-r--r-- | sys/netinet6/in6.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index 0f4856a2a17..5f8efed9124 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6.c,v 1.114 2013/06/16 21:27:15 bluhm Exp $ */ +/* $OpenBSD: in6.c,v 1.115 2013/06/20 09:38:24 mpi Exp $ */ /* $KAME: in6.c,v 1.372 2004/06/14 08:14:21 itojun Exp $ */ /* @@ -670,7 +670,7 @@ in6_control(struct socket *so, u_long cmd, caddr_t data, struct ifnet *ifp, pr0.ndpr_plen = in6_mask2len(&ifra->ifra_prefixmask.sin6_addr, NULL); if (pr0.ndpr_plen == 128) { - dohooks(ifp->if_addrhooks, 0); + dohooks(&ifp->if_addrhooks, 0); break; /* we don't need to install a host route. */ } pr0.ndpr_prefix = ifra->ifra_addr; @@ -720,13 +720,13 @@ in6_control(struct socket *so, u_long cmd, caddr_t data, struct ifnet *ifp, */ pfxlist_onlink_check(); - dohooks(ifp->if_addrhooks, 0); + dohooks(&ifp->if_addrhooks, 0); break; } case SIOCDIFADDR_IN6: in6_purgeaddr(&ia->ia_ifa); - dohooks(ifp->if_addrhooks, 0); + dohooks(&ifp->if_addrhooks, 0); break; default: |