Re: bgpctl ometric change

2022-11-30 Thread Claudio Jeker
On Wed, Nov 30, 2022 at 11:01:01AM +0100, Theo Buehler wrote: > On Wed, Nov 30, 2022 at 10:36:08AM +0100, Claudio Jeker wrote: > > I want to use the bgpctl ometric.c code in rpki-client to implement a > > metrics output. Currently ometric_output_all() just dumps to stdout but > > that does not work

Re: bgpctl ometric change

2022-11-30 Thread Theo Buehler
On Wed, Nov 30, 2022 at 10:36:08AM +0100, Claudio Jeker wrote: > I want to use the bgpctl ometric.c code in rpki-client to implement a > metrics output. Currently ometric_output_all() just dumps to stdout but > that does not work for rpki-client. Instead pass a FILE pointer to > ometric_output_all(

bgpctl ometric change

2022-11-30 Thread Claudio Jeker
I want to use the bgpctl ometric.c code in rpki-client to implement a metrics output. Currently ometric_output_all() just dumps to stdout but that does not work for rpki-client. Instead pass a FILE pointer to ometric_output_all() and also return -1 if an error occured. With this ometric usage becom