diff options
| author | Christophe Gouault <christophe.gouault@6wind.com> | 2016-10-12 18:12:08 +0200 |
|---|---|---|
| committer | Tobias Brunner <tobias@strongswan.org> | 2016-10-12 19:25:31 +0200 |
| commit | a63a7af197ceabc0fcf66e481702488185413267 (patch) | |
| tree | a161f7d036723b6eec6c2ff7536786835576f281 /src/libcharon/plugins/socket_default/socket_default_plugin.h | |
| parent | a617223ed5f2763705f98164ebe15dc3421f95e5 (diff) | |
| download | strongswan-a63a7af197ceabc0fcf66e481702488185413267.tar.bz2 strongswan-a63a7af197ceabc0fcf66e481702488185413267.tar.xz | |
kernel-netlink: Fix get_route() interface determination
A wrong variable is used (route instead of best), so much that the
returned interface belongs to the last seen route instead of the best
choice route.
get_route() may therefore return mismatching interface and gateway.
Fixes: 66e9165bc686 ("kernel-netlink: Return outbound interface in get_nexthop()")
Signed-off-by: Christophe Gouault <christophe.gouault@6wind.com>
Diffstat (limited to 'src/libcharon/plugins/socket_default/socket_default_plugin.h')
0 files changed, 0 insertions, 0 deletions
