In kroute_insert() fix the check for multipath routes. Use a helper variable
authorclaudio <claudio@openbsd.org>
Thu, 18 Aug 2022 17:02:42 +0000 (17:02 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 18 Aug 2022 17:02:42 +0000 (17:02 +0000)
commitd7ab08139e00b2370627149e410fa8ac15aed644
tree52faa4ea815a5a79cf585e7f238bb6984eae3bad
parent2e1989193b24b5be97fe457714e994d58798df26
In kroute_insert() fix the check for multipath routes. Use a helper variable
since krm is only set for IPv4 routes but not for IPv6 ones.
OK tb@
usr.sbin/bgpd/kroute.c