]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Properly handle IPV6_NEXTHOP socket option in selectroute().
authorae <ae@FreeBSD.org>
Sun, 2 Aug 2015 12:40:56 +0000 (12:40 +0000)
committerae <ae@FreeBSD.org>
Sun, 2 Aug 2015 12:40:56 +0000 (12:40 +0000)
commit55f7ded2fa64774e32d065c22e0d5d433329bb77
tree2354bebd16f9e18fe78e909ccda8a6795cee5fc0
parent99ebe8411ae00a3b5bbf634ffbfbbed68278e207
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
sys/netinet6/in6_src.c