peer-cfg: add a pull/push mode option to use with mode config

This commit is contained in:
Martin Willi
2013-09-04 10:33:37 +02:00
parent 0b47bb5377
commit 9aeaa7396e
15 changed files with 43 additions and 20 deletions
@@ -535,7 +535,7 @@ static job_requeue_t initiate(private_android_service_t *this)
UNIQUE_REPLACE, 0, /* keyingtries */
36000, 0, /* rekey 10h, reauth none */
600, 600, /* jitter, over 10min */
TRUE, FALSE, /* mobike, aggressive */
TRUE, FALSE, TRUE, /* mobike, aggressive, pull */
0, 0, /* DPD delay, timeout */
FALSE, NULL, NULL); /* mediation */
peer_cfg->add_virtual_ip(peer_cfg, host_create_any(AF_INET));