]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
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 6f4ffb845915c9336586e1962c3b0fed79a2b0eb..8b659c005802d82b39e6173aa04b33b8040c0b3e 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))
                {