Add Vxlan-Gpe over IPv6
[vpp.git] / vpp / api / custom_dump.c
index ba41b1f..ba4cf53 100644 (file)
@@ -26,8 +26,6 @@
 #include <vnet/l2tp/l2tp.h>
 #include <vnet/l2/l2_input.h>
 #include <vnet/sr/sr_packet.h>
-//#include <vnet/nsh-gre/nsh_gre.h> //alagalah testing nsh-gre removal
-#include <vnet/nsh/nsh.h> //alagalah testing nsh-gre removal
 #include <vnet/vxlan-gpe/vxlan_gpe.h>
 #include <vlib/vlib.h>
 #include <vlib/unix/unix.h>
@@ -1582,8 +1580,9 @@ static void *vl_api_vxlan_gpe_add_del_tunnel_t_print
 
     s = format (0, "SCRIPT: vxlan_gpe_add_del_tunnel ");
 
-    s = format (s, "local %U remote %U ", format_ip4_address, &mp->local,
-                format_ip4_address, &mp->remote);
+    s = format (s, "local %U ", format_ip46_address, &mp->local, mp->is_ipv6);
+
+    s = format (s, "remote %U ", format_ip46_address, &mp->remote, mp->is_ipv6);
 
     s = format (s, "protocol %d ", ntohl(mp->protocol));