aboutsummaryrefslogtreecommitdiffstats
path: root/src/frontends/osx
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2013-05-27 14:08:39 +0200
committerMartin Willi <martin@revosec.ch>2013-07-18 12:17:56 +0200
commite7ee45ef38e55c39cd635c33125e2e926d6ff3b0 (patch)
tree84cd2bd30e57dc5acffa3c3f0a4797eb80f190a8 /src/frontends/osx
parente37c5d46d3fb5ea5c441b809a12c4538ee818ef5 (diff)
downloadstrongswan-e7ee45ef38e55c39cd635c33125e2e926d6ff3b0.tar.bz2
strongswan-e7ee45ef38e55c39cd635c33125e2e926d6ff3b0.tar.xz
xpc: enable close_ike_on_child_failure
Diffstat (limited to 'src/frontends/osx')
-rw-r--r--src/frontends/osx/charon-xpc/charon-xpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frontends/osx/charon-xpc/charon-xpc.c b/src/frontends/osx/charon-xpc/charon-xpc.c
index 5a5ac9a6b..a1f64112a 100644
--- a/src/frontends/osx/charon-xpc/charon-xpc.c
+++ b/src/frontends/osx/charon-xpc/charon-xpc.c
@@ -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 "