CVSROOT: /cvs Module name: src Changes by: [email protected] 2016/08/22 10:53:59
Modified files:
sys/net : route.c
Log message:
Use rtalloc(9) instead of ifa_ifwithnet() to find an interface
when adding a route to gateway to ensure a most specific match.
This makes "# route add" coherent to "# route get" even with
p2p interfaces. Fix a problem reported by Mart Tõnso.
This also fix rttest20 after the introduction of RTF_CACHED.
ok vgross@
