Re: bgpctl sync with rpki-client json.c

2023-06-05 Thread Theo Buehler
On Mon, Jun 05, 2023 at 04:41:26PM +0200, Claudio Jeker wrote: > Same change as for rpki-client, introduce compatc mode for objects. > Use it in a few selected places where I think the compact output makes > sense. ok tb

bgpctl sync with rpki-client json.c

2023-06-05 Thread Claudio Jeker
Same change as for rpki-client, introduce compatc mode for objects. Use it in a few selected places where I think the compact output makes sense. -- :wq Claudio Index: json.c === RCS file: /cvs/src/usr.sbin/bgpctl/json.c,v retrievin

Re: compact json output in rpki-client

2023-06-05 Thread Theo Buehler
On Mon, Jun 05, 2023 at 02:59:57PM +0200, Claudio Jeker wrote: > The json API used by rpki-client and bgpctl does pretty-print the json > with every element on a new line. In some cases a more compact output for > some objects makes sense. This is what this diff implements. > > This affects both t

compact json output in rpki-client

2023-06-05 Thread Claudio Jeker
The json API used by rpki-client and bgpctl does pretty-print the json with every element on a new line. In some cases a more compact output for some objects makes sense. This is what this diff implements. This affects both the json output file and also the json filemode. -- :wq Claudio Index: j

Re: lo(4) checksum offload

2023-06-05 Thread David Gwynne
> On 2 Jun 2023, at 19:51, Alexander Bluhm wrote: > > On Wed, May 31, 2023 at 09:36:22AM +1000, David Gwynne wrote: >> we could export these csum flags as part of the bpf header so we can >> teach tcpdump to shut up in this situation. > > Linux does not do that and I want to keep pcap file fo

Re: pkg-config tweaks

2023-06-05 Thread Marc Espie
A bit more pkg-config tweaks. - I missed two anonymous subs. - somehow I did mangle the flags with respect to --libs-only-other - so I added regress tests for those. - I found out that stuff like --libs-only-l will tend to prepend a space like -lalpha2 turns out the glib2 version of pkg-config do