Rework kroute_remove(), it uses a struct kroute_full and does most of
authorclaudio <claudio@openbsd.org>
Thu, 28 Jul 2022 14:05:13 +0000 (14:05 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 28 Jul 2022 14:05:13 +0000 (14:05 +0000)
commit4d9ae30c66664e858b0056a4c67be48eeace7075
treefc29112475a4b87189c28a812d74a0d22b9f8fee
parent57baab2a53ba22457e9d5eb548a8f2339ee716a2
Rework kroute_remove(), it uses a struct kroute_full and does most of
the work internally. Removes a bunch of duplicated code and simplifies
code further.
Input and OK tb@
usr.sbin/bgpd/kroute.c