From f6e7fbdae9660d7abbb344b5e19fc68fb87bda78 Mon Sep 17 00:00:00 2001 From: Louis Scalbert Date: Mon, 23 Jan 2023 13:33:22 +0100 Subject: 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 --- lib/bfd.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/bfd.h') diff --git a/lib/bfd.h b/lib/bfd.h index 91e6d7799..51e831785 100644 --- a/lib/bfd.h +++ b/lib/bfd.h @@ -473,8 +473,6 @@ extern bool bfd_protocol_integration_debug(void); */ extern bool bfd_protocol_integration_shutting_down(void); -extern void bfd_nht_zclient_connected(struct zclient *zclient); - /* Update nexthop-tracking (nht) information for BFD auto source selection. * The function must be called from the daemon callback function * that deals with the ZEBRA_NEXTHOP_UPDATE zclient command -- cgit v1.2.3