]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Fix table manager to use the synchronous client
authorDonald Sharp <sharpd@nvidia.com>
Mon, 10 Jul 2023 14:40:38 +0000 (10:40 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 10 Jul 2023 14:47:17 +0000 (10:47 -0400)
commit1e0b6a601e0fb0f95bb507d2111260b194512bee
tree4e94d88365586f103bf44bcd3bca3dab3b63b942
parentb35dbae2c20f9708ba092e27c1d7f5ddd873be30
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>
bgpd/bgp_zebra.c
bgpd/bgp_zebra.h