ike: IKE_SA may fragment IKEv2 messages
authorTobias Brunner <tobias@strongswan.org>
Mon, 16 Jun 2014 13:48:47 +0000 (15:48 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 10 Oct 2014 07:32:41 +0000 (09:32 +0200)
src/libcharon/sa/ike_sa.c

index 6f4ffb8..8b659c0 100644 (file)
@@ -1015,7 +1015,7 @@ METHOD(ike_sa_t, generate_message_fragmented, status_t,
        status_t status;
        bool use_frags = FALSE;
 
-       if (this->ike_cfg && this->version == IKEV1)
+       if (this->ike_cfg)
        {
                switch (this->ike_cfg->fragmentation(this->ike_cfg))
                {