summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_zebra.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-07-10 16:40:38 +0200
committerDonald Sharp <sharpd@nvidia.com>2023-07-10 16:47:17 +0200
commit1e0b6a601e0fb0f95bb507d2111260b194512bee (patch)
tree4e94d88365586f103bf44bcd3bca3dab3b63b942 /bgpd/bgp_zebra.h
parentMerge pull request #13962 from opensourcerouting/fix/ignore_tests/lib/test_darr (diff)
downloadfrr-1e0b6a601e0fb0f95bb507d2111260b194512bee.tar.xz
frr-1e0b6a601e0fb0f95bb507d2111260b194512bee.zip
bgpd: Fix table manager to use the synchronous client
bgp_zebra_tm_connect calls bgp_zebra_get_table_range which just used the global zclient. Which of course still had us exposing the global zclient to read and drop important data from zebra. This fixes commit 787c61e03c760ffdb422bfc44c72d83fb451e0c8 Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_zebra.h')
-rw-r--r--bgpd/bgp_zebra.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_zebra.h b/bgpd/bgp_zebra.h
index 3d7d71d9b..a0f781946 100644
--- a/bgpd/bgp_zebra.h
+++ b/bgpd/bgp_zebra.h
@@ -24,7 +24,7 @@ extern void bgp_zebra_init_tm_connect(struct bgp *bgp);
extern uint32_t bgp_zebra_tm_get_id(void);
extern bool bgp_zebra_tm_chunk_obtained(void);
extern void bgp_zebra_destroy(void);
-extern int bgp_zebra_get_table_range(uint32_t chunk_size,
+extern int bgp_zebra_get_table_range(struct zclient *zc, uint32_t chunk_size,
uint32_t *start, uint32_t *end);
extern int bgp_if_update_all(void);
extern void bgp_zebra_announce(struct bgp_dest *dest, const struct prefix *p,