diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-11-24 12:43:55 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-11-24 12:43:55 +0000 |
commit | 88d3d2f0140fb0bce33e7029e4b4f69f5c5c670e (patch) | |
tree | 9ab15697a8d3a9111f28efe44c9cb9a4cd69e5af /sys/netinet6 | |
parent | 3d6515a9785bf21590b0eb3f92c88b0dde862911 (diff) |
Rename rt_ifa_addloop() into rt_ifa_addlocal() and make it return an
error code on failure (unchecked for the moment).
ok mikeb@, jmc@
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/in6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index dbc4e49c9a8..d81cae09f7e 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6.c,v 1.145 2014/11/20 09:55:57 mpi Exp $ */ +/* $OpenBSD: in6.c,v 1.146 2014/11/24 12:43:54 mpi Exp $ */ /* $KAME: in6.c,v 1.372 2004/06/14 08:14:21 itojun Exp $ */ /* @@ -1062,7 +1062,7 @@ in6_purgeaddr(struct ifaddr *ifa) } if (ia6_count == 1) - rt_ifa_delloop(&(ia6->ia_ifa)); + rt_ifa_dellocal(&(ia6->ia_ifa)); /* * leave from multicast groups we have joined for the interface @@ -1402,7 +1402,7 @@ in6_ifinit(struct ifnet *ifp, struct in6_ifaddr *ia6, int newhost) if ((ifp->if_flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) == 0) ia6->ia_ifa.ifa_rtrequest = nd6_rtrequest; - rt_ifa_addloop(&(ia6->ia_ifa)); + rt_ifa_addlocal(&(ia6->ia_ifa)); } return (error); |