Re: bgpd, check ktable_exists return value

2022-06-02 Thread Claudio Jeker
On Thu, Jun 02, 2022 at 11:13:31AM +0200, Theo Buehler wrote: > On Thu, Jun 02, 2022 at 11:05:26AM +0200, Claudio Jeker wrote: > > When setting the default routing table for bgpd make sure that > > ktable_exists() does not fail. > > Also improve the warning message in ktable_exists() a bit. > > Su

Re: bgpd, check ktable_exists return value

2022-06-02 Thread Theo Buehler
On Thu, Jun 02, 2022 at 11:05:26AM +0200, Claudio Jeker wrote: > When setting the default routing table for bgpd make sure that > ktable_exists() does not fail. > Also improve the warning message in ktable_exists() a bit. Sure, ok. The existing checks in parse.y do 'if (ktable_exists(..) != 1)' a

bgpd, check ktable_exists return value

2022-06-02 Thread Claudio Jeker
When setting the default routing table for bgpd make sure that ktable_exists() does not fail. Also improve the warning message in ktable_exists() a bit. -- :wq Claudio Index: kroute.c === RCS file: /cvs/src/usr.sbin/bgpd/kroute.c,v