Re: route: better error message for getaddrinfo() failure

2020-01-14 Thread Alexander Bluhm
On Wed, Jan 15, 2020 at 01:26:53AM +0100, Klemens Nanni wrote: > Replace the very same error message strlcpy() uses earlier. This makes > it easier to distinguish and does not hide different errors behind the > same generic one. > > For example, it turns > > # route -qn add -inet6 fec0::%

route: better error message for getaddrinfo() failure

2020-01-14 Thread Klemens Nanni
Replace the very same error message strlcpy() uses earlier. This makes it easier to distinguish and does not hide different errors behind the same generic one. For example, it turns # route -qn add -inet6 fec0::% -prefixlen 10 ::1 -reject route: fec0::%: bad value into