version 1.88, 2013/06/11 12:08:29 |
version 1.89, 2013/06/20 13:56:29 |
Line 1404 find_pfxlist_reachable_router(struct nd_ |
|
Line 1404 find_pfxlist_reachable_router(struct nd_ |
|
|
|
for (pfxrtr = LIST_FIRST(&pr->ndpr_advrtrs); pfxrtr; |
for (pfxrtr = LIST_FIRST(&pr->ndpr_advrtrs); pfxrtr; |
pfxrtr = LIST_NEXT(pfxrtr, pfr_entry)) { |
pfxrtr = LIST_NEXT(pfxrtr, pfr_entry)) { |
if ((rt = nd6_lookup(&pfxrtr->router->rtaddr, 0, |
if (pfxrtr->router->ifp->if_flags & IFF_UP && |
|
pfxrtr->router->ifp->if_link_state != LINK_STATE_DOWN && |
|
(rt = nd6_lookup(&pfxrtr->router->rtaddr, 0, |
pfxrtr->router->ifp)) && |
pfxrtr->router->ifp)) && |
(ln = (struct llinfo_nd6 *)rt->rt_llinfo) && |
(ln = (struct llinfo_nd6 *)rt->rt_llinfo) && |
ND6_IS_LLINFO_PROBREACH(ln) && |
ND6_IS_LLINFO_PROBREACH(ln)) |
pfxrtr->router->ifp->if_link_state != LINK_STATE_DOWN) |
|
break; /* found */ |
break; /* found */ |
} |
} |
|
|