]> 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)
committeranlan_cs <anlan_cs@tom.com>
Fri, 9 Jul 2021 23:42:45 +0000 (19:42 -0400)
commit7ea5c53477164104121550365557afac84df03bd
tree111323483d121ba2efa1e28d03bc334324184f4d
parent568f6d6c942385ac9e084b94a3034e03c1fa3bbf
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>
staticd/static_routes.c