diff options
Diffstat (limited to 'vpp')
-rw-r--r-- | vpp/api/custom_dump.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vpp/api/custom_dump.c b/vpp/api/custom_dump.c index 638c4a78..f49e1b05 100644 --- a/vpp/api/custom_dump.c +++ b/vpp/api/custom_dump.c @@ -1335,10 +1335,12 @@ static void * vl_api_vxlan_add_del_tunnel_t_print s = format (0, "SCRIPT: vxlan_add_del_tunnel "); s = format (s, "dst %U ", format_ip46_address, - (ip46_address_t *)&(mp->dst_address)); + (ip46_address_t *)&(mp->dst_address), + mp->is_ipv6 ? IP46_TYPE_IP6 : IP46_TYPE_IP4); s = format (s, "src %U ", format_ip46_address, - (ip46_address_t *)&(mp->src_address)); + (ip46_address_t *)&(mp->src_address), + mp->is_ipv6 ? IP46_TYPE_IP6 : IP46_TYPE_IP4); if (mp->encap_vrf_id) s = format (s, "encap-vrf-id %d ", ntohl(mp->encap_vrf_id)); |