rt_getifa_fib: don't use ifa but info->rti_ifa
Reported by: kp
This commit is contained in:
parent
2397084634
commit
fd829508af
@ -1308,7 +1308,7 @@ rt_getifa_fib(struct rt_addrinfo *info, u_int fibnum)
|
||||
}
|
||||
if (needref && info->rti_ifa != NULL) {
|
||||
if (info->rti_ifp == NULL)
|
||||
info->rti_ifp = ifa->ifa_ifp;
|
||||
info->rti_ifp = info->rti_ifa->ifa_ifp;
|
||||
ifa_ref(info->rti_ifa);
|
||||
} else
|
||||
error = ENETUNREACH;
|
||||
|
Loading…
x
Reference in New Issue
Block a user