Refactor mrt_dump_entry_v2() to use a dynamic buffer to hold the prefix.
authorclaudio <claudio@openbsd.org>
Tue, 28 Mar 2023 09:52:08 +0000 (09:52 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 28 Mar 2023 09:52:08 +0000 (09:52 +0000)
commit273a836c2c754cc1c9b9191a900ba8f0e4d7e6e1
treecf3b08ae1982decb4a4231602fa6d2c9f42f73e6
parent7d032127313a26c9667e07bcb0e964aa83491b30
Refactor mrt_dump_entry_v2() to use a dynamic buffer to hold the prefix.
Especially flowspec "prefixes" are variable size and so using a static
buffer there is not going to work in the long run.
OK tb@
usr.sbin/bgpd/mrt.c