Re: [iproute PATCH] Really fix get_addr() and get_prefix() error messages

2017-08-03 Thread Stephen Hemminger
On Tue, 1 Aug 2017 18:36:11 +0200 Phil Sutter wrote: > Both functions take the desired address family as a parameter. So using > that to notify the user what address family was expected is correct, > unlike using dst->family which will tell the user only what address > family was specified. > >

[iproute PATCH] Really fix get_addr() and get_prefix() error messages

2017-08-01 Thread Phil Sutter
Both functions take the desired address family as a parameter. So using that to notify the user what address family was expected is correct, unlike using dst->family which will tell the user only what address family was specified. The situation which commit 334af76143368 tried to fix was when 'ip'