diff options
author | 2016-08-22 16:53:59 +0000 | |
---|---|---|
committer | 2016-08-22 16:53:59 +0000 | |
commit | 199c6d9311672aacf9742898370f08d1a0b8ebaa (patch) | |
tree | 11edf5b6a439ee3f64810a7bc28f4de121b2db5b /lib/libtls/tls_conninfo.c | |
parent | Replace "union sockunion" with "union sockaddr_union" which is also (diff) | |
download | wireguard-openbsd-199c6d9311672aacf9742898370f08d1a0b8ebaa.tar.xz wireguard-openbsd-199c6d9311672aacf9742898370f08d1a0b8ebaa.zip |
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 'lib/libtls/tls_conninfo.c')
0 files changed, 0 insertions, 0 deletions