X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp%2Fapi%2Fcustom_dump.c;h=c26d65adbe07199f47c8b49ec5ed36e4a8ed12ed;hb=2df39094d20ae60d2e04316f4ec058f81778cf64;hp=a4d587075b0e8450c90a8491c7ae3c818ae1a1c3;hpb=20ec7165007bd38359ea516fe5389e9e828a9d62;p=vpp.git diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index a4d587075b0..c26d65adbe0 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -556,9 +556,15 @@ static void *vl_api_tap_create_v2_t_print memset (null_mac, 0, sizeof (null_mac)); s = format (0, "SCRIPT: tap_create_v2 "); - s = format (s, "name %s ", mp->tap_name); + s = format (s, "id %s ", mp->id); if (memcmp (mp->mac_address, null_mac, 6)) - s = format (s, "hw-addr %U ", format_ethernet_address, mp->mac_address); + s = format (s, "mac-address %U ", + format_ethernet_address, mp->mac_address); + if (memcmp (mp->host_mac_addr, null_mac, 6)) + s = format (s, "host-mac-addr %U ", + format_ethernet_address, mp->host_mac_addr); + if (mp->host_if_name_set) + s = format (s, "host-if-name %s ", mp->host_if_name); if (mp->host_namespace_set) s = format (s, "host-ns %s ", mp->host_namespace); if (mp->host_bridge_set)