aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2015-03-09 18:08:52 +0100
committerMartin Willi <martin@revosec.ch>2015-03-09 18:18:20 +0100
commit607eebcfcff0bba300b54977669cce63c6f6a129 (patch)
tree6201fc3e8e1c5d08fb5bc6bb0286d5f5cccf9a82 /src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c
parent942797a5b5176c43670232ffb8686bc347b8cda9 (diff)
downloadstrongswan-607eebcfcff0bba300b54977669cce63c6f6a129.tar.bz2
strongswan-607eebcfcff0bba300b54977669cce63c6f6a129.tar.xz
libipsec: Pass separate inbound/update flags to the IPsec SA manager
Similar to other kernel interfaces, the libipsec backends uses the flag for different purposes, and therefore should get separate flags.
Diffstat (limited to 'src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c')
-rw-r--r--src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c b/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c
index eabcb9311..6246dc505 100644
--- a/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c
+++ b/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c
@@ -259,7 +259,8 @@ METHOD(kernel_ipsec_t, add_sa, status_t,
{
return ipsec->sas->add_sa(ipsec->sas, src, dst, spi, protocol, reqid, mark,
tfc, lifetime, enc_alg, enc_key, int_alg, int_key,
- mode, ipcomp, cpi, initiator, encap, esn, inbound);
+ mode, ipcomp, cpi, initiator, encap, esn,
+ inbound, update);
}
METHOD(kernel_ipsec_t, update_sa, status_t,