Split dispatch_rtmsg_addr() into a function parsing a route message
authorclaudio <claudio@openbsd.org>
Mon, 13 Jun 2022 09:57:44 +0000 (09:57 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 13 Jun 2022 09:57:44 +0000 (09:57 +0000)
commitdb879ab8e4d2a60465f754e43e0fa382566b31fe
treeea2396b82426e12261b7f31dd477c9550985f7a9
parent12b179f34fa93af4307943874d82faa5d16dc556
Split dispatch_rtmsg_addr() into a function parsing a route message
into a struct kroute_full and then two functions to add/change or delete
that route from the kroute tree.
Cleanup some additional things and use the same parse funtion in fetchtable.
OK tb@
usr.sbin/bgpd/kroute.c