diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-08-22 16:54:00 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-08-22 16:54:00 +0000 |
commit | c915ea048607278aaac5b0ebb4b7812d802e9b6b (patch) | |
tree | 52cfe4f4518cb2cfd950d248a2df5194c4d13c8f /regress/usr.sbin | |
parent | b33e54f98ab86c22ddd359a345d653c50713d8c8 (diff) |
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@
Diffstat (limited to 'regress/usr.sbin')
0 files changed, 0 insertions, 0 deletions