Re: [PATCH iproute2] ipaddress: Fix and make consistent label match handling

2018-07-18 Thread Stephen Hemminger
On Sun, 15 Jul 2018 00:36:34 +0300 Serhey Popovych wrote: > Since commit 9516823051ce ("ipaddress: Improve print_linkinfo()") we > return -1 instead of 0 when ip-address(8) label does not match network > device name as we did before change. This causes regression when trying > to output ip addres

[PATCH iproute2] ipaddress: Fix and make consistent label match handling

2018-07-14 Thread Serhey Popovych
Since commit 9516823051ce ("ipaddress: Improve print_linkinfo()") we return -1 instead of 0 when ip-address(8) label does not match network device name as we did before change. This causes regression when trying to output ip address matching label: # ip addr add 192.168.192.1/24 dev lo label