android: Forward initiator flag to libipsec when adding IPsec SA
authorTobias Brunner <tobias@strongswan.org>
Thu, 13 Jun 2013 11:55:58 +0000 (13:55 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 13 Jun 2013 11:55:58 +0000 (13:55 +0200)
src/frontends/android/jni/libandroidbridge/kernel/android_ipsec.c

index d58e8d5..98fa33d 100644 (file)
@@ -70,8 +70,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, encap, esn, inbound, src_ts,
-                                                         dst_ts);
+                                                         mode, ipcomp, cpi, initiator, encap, esn, inbound,
+                                                         src_ts, dst_ts);
 }
 
 METHOD(kernel_ipsec_t, update_sa, status_t,