Fix bgpctl show mrt for UPDATE messages. The call to output->attr() was
authorclaudio <claudio@openbsd.org>
Thu, 15 Apr 2021 14:12:05 +0000 (14:12 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 15 Apr 2021 14:12:05 +0000 (14:12 +0000)
commit52d498891ead62b3bbcea96a99ab7dab09ebe65e
treed22851b6230e0c8ad005e7a2ad1ed86255ab56c6
parent655eac52913c98b6a5401640d34aac5d487d73be
Fix bgpctl show mrt for UPDATE messages. The call to output->attr() was
incorrect. Adjust output->attr() to take a reqflag argument instead of
a struct parse_result pointer since that is the only bit needed.
Found by and OK procter@, OK deraadt@
usr.sbin/bgpctl/bgpctl.c
usr.sbin/bgpctl/bgpctl.h
usr.sbin/bgpctl/output.c
usr.sbin/bgpctl/output_json.c