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.
This commit is contained in:
1 parent
942797a5b5
commit
607eebcfcf
4 files changed
+10
-6
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user