Re: route warning

2017-10-17 Thread Alexander Bluhm
On Mon, Oct 16, 2017 at 01:18:27PM +0200, Martin Pieuchot wrote: > Removing the if () block should do it. This diff is not quite right. /usr/src/regress/sbin/route rttest20 shows that there is an additional +get net 2001:ee0:2001:c0::/64 each time you call route get. You only want such a line

Re: route warning

2017-10-16 Thread Alexander Bluhm
On Mon, Oct 16, 2017 at 01:18:27PM +0200, Martin Pieuchot wrote: > Removing the if () block should do it. It introduces a small change in > behavior, route(8) now exists with an error code if an entry doesn't > exist in the table. That's a good thing, because one can now test if a > route is reac

Re: route warning

2017-10-16 Thread Martin Pieuchot
On 12/10/17(Thu) 00:22, Julien Dhaille wrote: > Hi, > > when a default gateway is not set : > > # route get 4.4.4.4 > route: writing to routing socket: No such process > > this small patch uses oerrno translation : > > # route get 4.4.4.4 > get host 4.4.4.4: not in table Nice, but there's no n

route warning

2017-10-11 Thread Julien Dhaille
Hi, when a default gateway is not set : # route get 4.4.4.4 route: writing to routing socket: No such process this small patch uses oerrno translation : # route get 4.4.4.4 get host 4.4.4.4: not in table Index: route.c === RCS fil