summaryrefslogtreecommitdiff
path: root/staticd/static_zebra.c
diff options
context:
space:
mode:
Diffstat (limited to 'staticd/static_zebra.c')
-rw-r--r--staticd/static_zebra.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/staticd/static_zebra.c b/staticd/static_zebra.c
index a6521cccc6..3ed525f386 100644
--- a/staticd/static_zebra.c
+++ b/staticd/static_zebra.c
@@ -181,6 +181,12 @@ static void zebra_connected(struct zclient *zclient)
vrf = vrf_lookup_by_id(VRF_DEFAULT);
assert(vrf);
static_fixup_vrf_ids(vrf);
+
+ /*
+ * It's possible that staticd connected after config was read
+ * in.
+ */
+ static_install_nexthops_on_startup();
}
/* API to check whether the configured nexthop address is