Adopt bgpctl code to the ibuf changes done in bgpd.
authorclaudio <claudio@openbsd.org>
Tue, 23 Jan 2024 16:16:15 +0000 (16:16 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 23 Jan 2024 16:16:15 +0000 (16:16 +0000)
commit5ad4fcbad159abc601679860953f9a7f07c2729f
treeffc16694709d1e5c2f69f3867439b5a227cf78dd
parent5c4d2233d59fd1918b3011c78f57837f8361d33f
Adopt bgpctl code to the ibuf changes done in bgpd.

Adjust code that calls nlri_get_prefix() and friends to work with
an ibuf. show_mrt_update() is mostly converted because of this.
The output functions and the rest of the mrtparser are just
minimally touched to keep the diff reasonable.
OK tb@
usr.sbin/bgpctl/bgpctl.c
usr.sbin/bgpctl/mrtparser.c
usr.sbin/bgpctl/output.c
usr.sbin/bgpctl/output_json.c