Reviewed-by: Petr Machata <petrm@nvidia.com>
Tested-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
return 0;
}
-static void open_vni_port(int ifi_index, const char *fmt)
+static void open_vni_port(int ifi_index)
{
open_json_object(NULL);
print_color_string(PRINT_ANY, COLOR_IFNAME, "ifname",
continue;
if (!opened) {
- open_vni_port(tmsg->ifindex, "%s");
+ open_vni_port(tmsg->ifindex);
opened = true;
} else {
print_string(PRINT_FP, NULL, "%-" __stringify(IFNAMSIZ) "s ", "");