]> git.puffer.fish Git - matthieu/frr.git/commit
staticd: fix late initialization of blackhole type
authoranlan_cs <anlan_cs@tom.com>
Thu, 8 Jul 2021 09:57:37 +0000 (05:57 -0400)
committermergify-bot <noreply@mergify.io>
Fri, 23 Jul 2021 09:15:28 +0000 (09:15 +0000)
commitdd62a86e7b9a78e9211aacbecc5cf2edbcb9c264
tree3427f56bd10bb945101341f5d03aad652a492363
parent381752f3679b43f53f5c72e91153729853930a3f
staticd: fix late initialization of blackhole type

If a static route is added to a not-yet-existing VRF, the blackhole type
is not initialized. Initialization must be done before the VRF existence
check.

Signed-off-by: anlan_cs <anlan_cs@tom.com>
(cherry picked from commit 7ea5c53477164104121550365557afac84df03bd)
staticd/static_routes.c