kernel-netlink: Use interface to next hop for shunt policies
authorTobias Brunner <tobias@strongswan.org>
Fri, 11 Mar 2016 18:09:54 +0000 (19:09 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 10 Jun 2016 11:57:27 +0000 (13:57 +0200)
commit4ba5ea407bb8a4afc295d0fb3e80c8e1cff410bb
treedae5e2b4e5a1a7ff61cc12d6a03f1ac4bb030b21
parent66e9165bc686b7b0328b0ffe1424620653a034b8
kernel-netlink: Use interface to next hop for shunt policies

Using the source address to determine the interface is not correct for
net-to-net shunts between two interfaces on which the host has IP addresses
for each subnet.
src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c