Re: introduce ctl_results CTL_RES_OPNOTSUPP for portable

2023-08-30 Thread Theo Buehler
On Wed, Aug 30, 2023 at 09:41:35AM +0200, Claudio Jeker wrote: > In portable some features are disabled and requests by bgpctl should > result in an error that is reasonable. > > For example bgpctl show fib returns "permission denied" in > kroute-disabled.c which is not great. So lets have an

introduce ctl_results CTL_RES_OPNOTSUPP for portable

2023-08-30 Thread Claudio Jeker
In portable some features are disabled and requests by bgpctl should result in an error that is reasonable. For example bgpctl show fib returns "permission denied" in kroute-disabled.c which is not great. So lets have an explicit error for unavailable features in -portable. -- :wq Claudio