diff --git a/lib/route/link/interlink.c b/lib/route/link/interlink.c index 67ad0cfe..a4f446a9 100644 --- a/lib/route/link/interlink.c +++ b/lib/route/link/interlink.c @@ -226,7 +226,7 @@ static void interlink_dump_details(struct rtnl_link *link, struct nl_dump_params if (info->hi_mask & INTERLINK_ATTR_NET_ID) { nl_dump(p, " net_id "); - nl_dump_line(p, "%s\n", info->hi_net_id); + nl_dump_line(p, "%d\n", info->hi_net_id); } }