ikev2: don't add DH group in ESP transform proposals
[vpp.git] / src / plugins / ikev2 / ikev2.c
index bba8876..211cf25 100644 (file)
@@ -3011,7 +3011,7 @@ ikev2_set_initiator_proposals (vlib_main_t * vm, ikev2_sa_t * sa,
     }
 
   /* DH */
-  if (is_ike || ts->dh_type != IKEV2_TRANSFORM_DH_TYPE_NONE)
+  if (is_ike)
     {
       error = 1;
       vec_foreach (td, km->supported_transforms)