Refactor and rename bgpd_filternexthop() to bgpd_oknexthop()
authorclaudio <claudio@openbsd.org>
Sat, 23 Jul 2022 10:24:00 +0000 (10:24 +0000)
committerclaudio <claudio@openbsd.org>
Sat, 23 Jul 2022 10:24:00 +0000 (10:24 +0000)
commitb369529143346058dce414ee6b5b55fad814c4fc
tree98219a6aa6c72ec878577c19c211be62e4c8588f
parente9dce5e7679178313689259c47d57e9a9de26841
Refactor and rename bgpd_filternexthop() to bgpd_oknexthop()

Simplify the logic and adjust kroute_match() which makes the code
easier to understand.
OK tb@
usr.sbin/bgpd/bgpd.c
usr.sbin/bgpd/bgpd.h
usr.sbin/bgpd/kroute.c