lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 14 Feb 2018 14:05:25 -0800
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Serhey Popovych <serhe.popovych@...il.com>
Cc:     netdev@...r.kernel.org, dsahern@...il.com
Subject: Re: [PATCH iproute2-next v2 2/9] ipaddress: ll_map: Replace
 ll_idx_n2a() with ll_index_to_name()

On Wed, 14 Feb 2018 23:33:37 +0200
Serhey Popovych <serhe.popovych@...il.com> 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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ