summaryrefslogtreecommitdiff
path: root/staticd/static_zebra.c
diff options
context:
space:
mode:
authorLouis Scalbert <louis.scalbert@6wind.com>2023-01-23 13:33:22 +0100
committerLouis Scalbert <louis.scalbert@6wind.com>2023-01-24 16:08:26 +0100
commitf6e7fbdae9660d7abbb344b5e19fc68fb87bda78 (patch)
treefa1972555a341326fba46b85ebac6e9f215731e9 /staticd/static_zebra.c
parenta77ea81ef34c05bd2b84260c7bbbf9d32443ca7f (diff)
lib: remove concurrent nexthop zapi (un)registration
Daemons like staticd already implement nexthop zapi (un)registration. b7ca809d1c ("lib: BFD automatic source selection") has implemented a concurrent nexthop (un)registration. Some nexthop could be unregistred by the bfd whereas they were still needed by the daemon. Let the deamons deal with nexthop zapi (un)registration. Fixes: b7ca809d1c ("lib: BFD automatic source selection") Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'staticd/static_zebra.c')
-rw-r--r--staticd/static_zebra.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/staticd/static_zebra.c b/staticd/static_zebra.c
index f4f9878e8d..85e4b1c033 100644
--- a/staticd/static_zebra.c
+++ b/staticd/static_zebra.c
@@ -182,8 +182,6 @@ static void zebra_connected(struct zclient *zclient)
zclient_send_reg_requests(zclient, VRF_DEFAULT);
static_fixup_vrf_ids(vrf_info_lookup(VRF_DEFAULT));
-
- bfd_nht_zclient_connected(zclient);
}
/* API to check whether the configured nexthop address is