]> git.proxmox.com Git - mirror_iproute2.git/commit - ip/ipaddress.c
ip: don't colorize the master device
authorStephen Hemminger <sthemmin@microsoft.com>
Tue, 20 Feb 2018 19:08:46 +0000 (11:08 -0800)
committerDavid Ahern <dsahern@gmail.com>
Tue, 20 Feb 2018 20:16:42 +0000 (12:16 -0800)
commitb68b361b4bf1ec18655a3bed112623c81e475aa6
treedec83d667b121d7f4224074b15ba0c96735eb809
parent118eda77d6602616bc523a17ee45171e879d1818
ip: don't colorize the master device

Putting whole string "master eth0" in the interface name color
is wrong and confusing. Let's just turn color off for all attributes
of device.

Fixes: d92cc2d087b0 ("ipaddress: ll_map: Replace ll_idx_n2a() with ll_index_to_name()")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
ip/ipaddress.c