xpc: enable close_ike_on_child_failure
authorMartin Willi <martin@revosec.ch>
Mon, 27 May 2013 12:08:39 +0000 (14:08 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 18 Jul 2013 10:17:56 +0000 (12:17 +0200)
src/frontends/osx/charon-xpc/charon-xpc.c

index 5a5ac9a..a1f6411 100644 (file)
@@ -162,6 +162,8 @@ int main(int argc, char *argv[])
 
        lib->settings->set_default_str(lib->settings, "charon-cmd.port", "0");
        lib->settings->set_default_str(lib->settings, "charon-cmd.port_nat_t", "0");
+       lib->settings->set_default_str(lib->settings,
+                                                               "charon-cmd.close_ike_on_child_failure", "yes");
        if (!charon->initialize(charon,
                        lib->settings->get_str(lib->settings, "charon-xpc.load",
                                "random nonce pem pkcs1 openssl kernel-pfkey kernel-pfroute "