After some consideration, revert last commit and don't abuse rde_dump_done.
authorclaudio <claudio@openbsd.org>
Mon, 29 May 2017 13:10:40 +0000 (13:10 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 29 May 2017 13:10:40 +0000 (13:10 +0000)
commit12d81493d6097ee024017813add85fa87c02c818
tree7a6c5b857205977aea81e0942c4e5672f65d3bfd
parent5746806477b9f2e73c4771f0d5d230eced808609
After some consideration, revert last commit and don't abuse rde_dump_done.
IMSG_CTL_SHOW_RIB_PREFIX case is not using rib_dump_r and so should not use
rde_dump_done, instead send the IMSG_CTL_END msg and free the ctx directly.
This is easier to understand.
usr.sbin/bgpd/rde.c