diff options
author | 2016-05-25 01:16:19 +0800 | |
---|---|---|
committer | 2016-05-25 10:42:43 +0000 | |
commit | df921cc65a25f6fb71b1169db6ff004b4e45430e (patch) | |
tree | f45fb2fe3641c59db8f89acba0bf51cba95ad8b2 /vpp/api/custom_dump.c | |
parent | c4cb44c05d121da2e0f0ccd39d5e1bf470731a85 (diff) |
Add Vxlan-Gpe over IPv6
PatchSet4: consolidate code as per comments.
PatchSet3: simplify the code using ip_udp_encap_one/two
PatchSet2: consolidate comments and indent style
Change-Id: Ia8b43f854a46d77e838e198566200ad28fd72472
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'vpp/api/custom_dump.c')
-rw-r--r-- | vpp/api/custom_dump.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vpp/api/custom_dump.c b/vpp/api/custom_dump.c index 47c9f662517..ba4cf538d2f 100644 --- a/vpp/api/custom_dump.c +++ b/vpp/api/custom_dump.c @@ -1580,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)); |