android: Support for IPsec SA update added
authorTobias Brunner <tobias@strongswan.org>
Wed, 10 Oct 2012 13:31:24 +0000 (15:31 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 16 Oct 2012 12:16:17 +0000 (14:16 +0200)
src/frontends/android/jni/libandroidbridge/kernel/android_ipsec.c

index 08cc616..85fe5d4 100644 (file)
@@ -79,7 +79,8 @@ METHOD(kernel_ipsec_t, update_sa, status_t,
        u_int16_t cpi, host_t *src, host_t *dst, host_t *new_src, host_t *new_dst,
        bool encap, bool new_encap, mark_t mark)
 {
-       return NOT_SUPPORTED;
+       return ipsec->sas->update_sa(ipsec->sas, spi, protocol, cpi, src, dst,
+                                                                new_src, new_dst, encap, new_encap, mark);
 }
 
 METHOD(kernel_ipsec_t, query_sa, status_t,