HomeFreeBSD

Properly handle IPV6_NEXTHOP socket option in selectroute().

Description

Properly handle IPV6_NEXTHOP socket option in selectroute().

o remove disabled code;
o if nexthop address is link-local, use embedded scope zone id to

determine outgoing interface;

o properly fill ro_dst before doing route lookup;
o remove LLE lookup, instead check rt_flags for RTF_GATEWAY bit.

Sponsored by: Yandex LLC

Details

Provenance
aeAuthored on
Parents
rS286194: Remove redundant check.
Branches
Unknown
Tags
Unknown