X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp%2Fapi%2Fcustom_dump.c;h=a4d587075b0e8450c90a8491c7ae3c818ae1a1c3;hb=91c6ef7cae2d20ca17a69003a44090614412c63f;hp=428e1636569f70695fa466847fe5ab961093e585;hpb=9fa1581cc40b656b6e00d77479fc2424cd50a126;p=vpp.git diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index 428e1636569..a4d587075b0 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -559,8 +559,16 @@ static void *vl_api_tap_create_v2_t_print s = format (s, "name %s ", mp->tap_name); if (memcmp (mp->mac_address, null_mac, 6)) s = format (s, "hw-addr %U ", format_ethernet_address, mp->mac_address); - if (mp->net_ns_set) - s = format (s, "host-ns %s ", mp->net_ns); + if (mp->host_namespace_set) + s = format (s, "host-ns %s ", mp->host_namespace); + if (mp->host_bridge_set) + s = format (s, "host-bridge %s ", mp->host_bridge); + if (mp->host_ip4_addr_set) + s = format (s, "host-ip4-addr %U/%d ", format_ip4_address, + mp->host_ip4_addr, mp->host_ip4_prefix_len); + if (mp->host_ip6_addr_set) + s = format (s, "host-ip6-addr %U/%d ", format_ip6_address, + mp->host_ip6_addr, mp->host_ip6_prefix_len); if (mp->tx_ring_sz) s = format (s, "tx-ring-size %d ", mp->tx_ring_sz); if (mp->rx_ring_sz)