aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/kernel_wfp/kernel_wfp_ipsec.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-06-19 14:33:50 +0200
committerTobias Brunner <tobias@strongswan.org>2014-06-19 14:33:50 +0200
commit93c68fcd263dbdb7219686a14266186b25d019e2 (patch)
tree9bf8f3840be0986fb8d60c3f25eeb25b519558e2 /src/libcharon/plugins/kernel_wfp/kernel_wfp_ipsec.c
parent73b22aa842ae0f32d3aaeb79101894cc719ceaf2 (diff)
parent88f125f5605e54b38cf8913df79e32ec6bddff10 (diff)
downloadstrongswan-93c68fcd263dbdb7219686a14266186b25d019e2.tar.bz2
strongswan-93c68fcd263dbdb7219686a14266186b25d019e2.tar.xz
Merge branch 'shunt-policies-routes'
Fixes #599.
Diffstat (limited to 'src/libcharon/plugins/kernel_wfp/kernel_wfp_ipsec.c')
-rw-r--r--src/libcharon/plugins/kernel_wfp/kernel_wfp_ipsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/kernel_wfp/kernel_wfp_ipsec.c b/src/libcharon/plugins/kernel_wfp/kernel_wfp_ipsec.c
index cc1cae6d4..c788bfb10 100644
--- a/src/libcharon/plugins/kernel_wfp/kernel_wfp_ipsec.c
+++ b/src/libcharon/plugins/kernel_wfp/kernel_wfp_ipsec.c
@@ -1348,7 +1348,7 @@ static bool manage_route(private_kernel_wfp_ipsec_t *this,
return FALSE;
}
gtw = hydra->kernel_interface->get_nexthop(hydra->kernel_interface,
- remote, local);
+ remote, -1, local);
if (add)
{
done = install_route(this, dst, mask, src, gtw);