Use source address in get_nexthop() call
authorTobias Brunner <tobias@strongswan.org>
Tue, 18 Sep 2012 15:55:38 +0000 (17:55 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 21 Sep 2012 16:16:25 +0000 (18:16 +0200)
commitdad6d904ee96a2411c4bfa30cc59f1451f6e13df
treed8444ca189a4c39d06e3b595d16edd1be3c17b96
parent662534657f4336b220ea10c17e6df2d422970ea3
Use source address in get_nexthop() call

Otherwise the nexthop returned might belong to a different route than
the one actually used with the current source address.
src/libhydra/kernel/kernel_interface.c
src/libhydra/kernel/kernel_interface.h
src/libhydra/kernel/kernel_net.h
src/libhydra/plugins/kernel_klips/kernel_klips_ipsec.c
src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c
src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c
src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
src/libhydra/plugins/kernel_pfroute/kernel_pfroute_net.c