Re: [iproute PATCH] lib/utils: improve error messages of get_addr() and get_prefix()

2015-11-03 Thread Stephen Hemminger
On Thu, 29 Oct 2015 17:05:38 +0100 Phil Sutter wrote: > Instead of statically complaining about illegal inet address, use > get_family() to get the address family right. > > Based on a patch by Hangbin Liu to print "inet6" for AF_INET6 made more > generic by me. > > Signed-off-by: Phil Sutter

[iproute PATCH] lib/utils: improve error messages of get_addr() and get_prefix()

2015-10-29 Thread Phil Sutter
Instead of statically complaining about illegal inet address, use get_family() to get the address family right. Based on a patch by Hangbin Liu to print "inet6" for AF_INET6 made more generic by me. Signed-off-by: Phil Sutter --- lib/utils.c | 6 -- 1 file changed, 4 insertions(+), 2 deleti