Sync json.c with the one from rpki-client. This adds json_do_string().
authorclaudio <claudio@openbsd.org>
Fri, 5 May 2023 07:42:40 +0000 (07:42 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 5 May 2023 07:42:40 +0000 (07:42 +0000)
commita32a1b0fd74d041d83a582f8a3a863cc35c13d41
treef7412db793b9ffde9150a92eb929bd70877f657c
parent59d4a58565d71b3e3c492e3af1d1fa4f7c0b0534
Sync json.c with the one from rpki-client. This adds json_do_string().
Convert json_do_printf() calls using static strings or "%s" fmt over
to json_do_string() in the json output.
OK tb@
usr.sbin/bgpctl/json.c
usr.sbin/bgpctl/json.h
usr.sbin/bgpctl/output_json.c