diff options
Diffstat (limited to 'sys/netinet6/in6.c')
-rw-r--r-- | sys/netinet6/in6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index 529d122..c6d0d60 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -291,7 +291,7 @@ in6_ifindex2scopeid(idx) if (idx < 0 || if_index < idx) return -1; - ifp = ifindex2ifnet[idx]; + ifp = ifnet_byindex(idx); TAILQ_FOREACH(ifa, &ifp->if_addrlist, ifa_list) { |