When introducing prefix_eligible() I botched up one if statement.
authorclaudio <claudio@openbsd.org>
Mon, 8 Mar 2021 12:18:46 +0000 (12:18 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 8 Mar 2021 12:18:46 +0000 (12:18 +0000)
commitc22d861429c57c86348dd4440012771ff8a04b34
treed8ddab1d5ba06fb5240c4e8805338b7098335d0f
parentc6c0d427aa8cbc6b33fafa1efea112f5ce5aaa30
When introducing prefix_eligible() I botched up one if statement.
For nexthops it is fine if they point to NULL. This is used in local
announcements. Only if they point to a real struct the state must be
NEXTHOP_REACH.
Bug reported by and OK florian@
usr.sbin/bgpd/rde_decide.c