diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-24 12:33:17 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-24 12:33:17 +0000 |
commit | ea6e25fb9c9c50a1c2e788236d59d28e19dc9cc6 (patch) | |
tree | cf9d0bb9ef674b8140f98ea8af30cc583108b455 /sys/netinet6/in6_src.c | |
parent | 21a2c14004c71bd46dfc2a858d02d11f57783b9a (diff) |
Convert some if_ref() to if_get().
ok claudio@
Diffstat (limited to 'sys/netinet6/in6_src.c')
-rw-r--r-- | sys/netinet6/in6_src.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/in6_src.c b/sys/netinet6/in6_src.c index e4cb8674194..dfe5791948f 100644 --- a/sys/netinet6/in6_src.c +++ b/sys/netinet6/in6_src.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_src.c,v 1.65 2015/10/22 16:33:32 mpi Exp $ */ +/* $OpenBSD: in6_src.c,v 1.66 2015/10/24 12:33:16 mpi Exp $ */ /* $KAME: in6_src.c,v 1.36 2001/02/06 04:08:17 itojun Exp $ */ /* @@ -457,7 +457,7 @@ in6_selectif(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, return (rt->rt_flags & RTF_HOST ? EHOSTUNREACH : ENETUNREACH); if (rt != NULL) - *retifp = if_ref(rt->rt_ifp); + *retifp = if_get(rt->rt_ifidx); return (0); } |