Fix rtr_parse_aspa(), the spas array is actually not copied over into
authorclaudio <claudio@openbsd.org>
Fri, 17 Mar 2023 11:14:10 +0000 (11:14 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 17 Mar 2023 11:14:10 +0000 (11:14 +0000)
commit00164d1023b8543121e686d69881fde8ff1da926
tree38c2868803d45a09af65ef3b3a4d233fc314dfda
parent6d5481daee0840592cac90a42f393bb727f3301d
Fix rtr_parse_aspa(), the spas array is actually not copied over into
the rtr_aspa struct so access them directly from the buf using offset
as the address of the first element.
OK tb@
usr.sbin/bgpd/rtr_proto.c