750
752
/* Only global address nexthop exists. */
754
756
/* If both global and link-local address present. */
757
759
/* Workaround for Cisco's nexthop bug. */
759
761
&& peer->su_remote->sa.sa_family == AF_INET6)
760
762
nexthop = &peer->su_remote->sin6.sin6_addr;
764
766
if (info->peer->nexthop.ifp)
765
767
ifindex = info->peer->nexthop.ifp->ifindex;