Refactor common code of the 3 up_generate functions into up_process_prefix()
authorclaudio <claudio@openbsd.org>
Sat, 11 Feb 2023 08:50:43 +0000 (08:50 +0000)
committerclaudio <claudio@openbsd.org>
Sat, 11 Feb 2023 08:50:43 +0000 (08:50 +0000)
commita2b6ec13012746b4818983f5e7e049e92e0018e8
tree10629b7787d425331e1d5b4753e402ac6ad29bb5
parent4c4efc0ac71948c25fbd7928bf095843ea9b8ff6
Refactor common code of the 3 up_generate functions into up_process_prefix()
Simplifies up_generate_updates(), up_generate_addpath() and
up_generate_addpath_all() a fair bit.
OK tb@
usr.sbin/bgpd/rde_update.c