On Wed, 14 Feb 2018 23:33:37 +0200 Serhey Popovych <[email protected]> wrote:
> if (tb[IFLA_MASTER]) {
> - SPRINT_BUF(b1);
> + int master = rta_getattr_u32(tb[IFLA_MASTER]);
>
> print_string(PRINT_ANY,
> "master",
> "master %s ",
> - ll_idx_n2a(rta_getattr_u32(tb[IFLA_MASTER]), b1));
> + ll_index_to_name(master));
Since this is an interface name, it should be printed in the correct color.
Sorry, missed that in the recent changes.
