android: Enable charon.initiator_only option
authorTobias Brunner <tobias@strongswan.org>
Thu, 4 Jun 2015 08:35:03 +0000 (10:35 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 28 Jul 2015 11:27:31 +0000 (13:27 +0200)
src/frontends/android/jni/libandroidbridge/charonservice.c

index 5246300..81dc049 100644 (file)
@@ -469,6 +469,8 @@ static void set_options(char *logfile)
        lib->settings->set_int(lib->settings,
                                        "charon.fragment_size", ANDROID_FRAGMENT_SIZE);
        lib->settings->set_bool(lib->settings,
+                                       "charon.initiator_only", TRUE);
+       lib->settings->set_bool(lib->settings,
                                        "charon.close_ike_on_child_failure", TRUE);
        /* setting the source address breaks the VpnService.protect() function which
         * uses SO_BINDTODEVICE internally.  the addresses provided to the kernel as