]> git.ipfire.org Git - thirdparty/strongswan.git/commit
kernel-netlink: Prefer finding a source IP via next hop over interface kernel-netlink-prefer-gw
authorTobias Brunner <tobias@strongswan.org>
Tue, 9 May 2017 12:32:21 +0000 (14:32 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 9 May 2017 12:32:21 +0000 (14:32 +0200)
commit439637bf1b5e292fdf85e4b358a297ab9b4fa8c6
tree4e1ef44a49542e31f6212a9753fa2337f3ec2f1c
parenta5f7a4c790067a0bcc6d8a76696ba1c779430cec
kernel-netlink: Prefer finding a source IP via next hop over interface

If there are private and public addresses on an interface we should look
for other routes that use the listed next hop as the order of the
addresses is pretty much random.
src/libcharon/plugins/kernel_netlink/kernel_netlink_net.c