android: Enable IKEv2 fragmentation
authorTobias Brunner <tobias@strongswan.org>
Thu, 6 Nov 2014 15:56:54 +0000 (16:56 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 6 Nov 2014 15:56:54 +0000 (16:56 +0100)
src/frontends/android/jni/libandroidbridge/backend/android_service.c

index 960edbe..fad070d 100644 (file)
@@ -692,7 +692,7 @@ static job_requeue_t initiate(private_android_service_t *this)
        ike_cfg = ike_cfg_create(IKEV2, TRUE, TRUE, "0.0.0.0",
                                                         charon->socket->get_port(charon->socket, FALSE),
                                                         this->gateway, IKEV2_UDP_PORT,
        ike_cfg = ike_cfg_create(IKEV2, TRUE, TRUE, "0.0.0.0",
                                                         charon->socket->get_port(charon->socket, FALSE),
                                                         this->gateway, IKEV2_UDP_PORT,
-                                                        FRAGMENTATION_NO, 0);
+                                                        FRAGMENTATION_YES, 0);
        ike_cfg->add_proposal(ike_cfg, proposal_create_default(PROTO_IKE));
        ike_cfg->add_proposal(ike_cfg, proposal_create_default_aead(PROTO_IKE));
 
        ike_cfg->add_proposal(ike_cfg, proposal_create_default(PROTO_IKE));
        ike_cfg->add_proposal(ike_cfg, proposal_create_default_aead(PROTO_IKE));