Fix IMSG_RECONF_ASPA handling. The rde did not expect what the rtr process
authorclaudio <claudio@openbsd.org>
Thu, 18 Jan 2024 09:39:36 +0000 (09:39 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 18 Jan 2024 09:39:36 +0000 (09:39 +0000)
commitd1ecb0c527101f98d2aabc716a8cdf6be4f8bea8
tree8249da60f3f724633de3701737f0f6278b6e658e
parentc74c9f5665ccc4288cf0903f45982c1db8b5f421
Fix IMSG_RECONF_ASPA handling. The rde did not expect what the rtr process
was sending and hit the error path because of that. Since the encoding
as two uint32_t in rtr.c is awkward use the same way that the parent is
sending the aspa sets. This uses a local copy so that the included expire
filed is forced to 0 (the RDE does not use that field).
OK tb@
usr.sbin/bgpd/rtr.c