Convert IMSG_CTL_SHOW_RIB_ATTR over to the new ibuf API.
authorclaudio <claudio@openbsd.org>
Wed, 31 Jan 2024 11:23:19 +0000 (11:23 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 31 Jan 2024 11:23:19 +0000 (11:23 +0000)
commitdd147aaac087d3efcea9a38926f4fcaa6835723e
tree441ab4ef3baad9c526319f05da1e373ddf3ef273
parentfe9ac7b09157e97ae2148a9610f5f1614d1d4f79
Convert IMSG_CTL_SHOW_RIB_ATTR over to the new ibuf API.

This converts show_attr() and json_attr() and with that also the
community specific functions. This removes some hacks inside of
show_attr() that where added before.

OK tb@
usr.sbin/bgpctl/bgpctl.c
usr.sbin/bgpctl/bgpctl.h
usr.sbin/bgpctl/output.c
usr.sbin/bgpctl/output_json.c