ipip: Multi-point interface
[vpp.git] / src / plugins / ikev2 / ikev2.c
index 6e3ca7d..03448b9 100644 (file)
@@ -1546,7 +1546,7 @@ ikev2_add_tunnel_from_main (ikev2_add_ipsec_tunnel_args_t * a)
   rv = ipip_add_tunnel (IPIP_TRANSPORT_IP4, ~0,
                        &a->local_ip, &a->remote_ip, 0,
                        TUNNEL_ENCAP_DECAP_FLAG_NONE, IP_DSCP_CS0,
-                       &sw_if_index);
+                       TUNNEL_MODE_P2P, &sw_if_index);
 
   if (rv == VNET_API_ERROR_IF_ALREADY_EXISTS)
     {