mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 03:44:01 +00:00
zebra: pass instance to zebra_find_client
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
This commit is contained in:
parent
0412988bd5
commit
6f3a2003d8
@ -3534,7 +3534,7 @@ static int zl3vni_send_add_to_client(zebra_l3vni_t *zl3vni)
|
|||||||
struct ethaddr rmac;
|
struct ethaddr rmac;
|
||||||
char buf[ETHER_ADDR_STRLEN];
|
char buf[ETHER_ADDR_STRLEN];
|
||||||
|
|
||||||
client = zebra_find_client(ZEBRA_ROUTE_BGP);
|
client = zebra_find_client(ZEBRA_ROUTE_BGP, 0);
|
||||||
/* BGP may not be running. */
|
/* BGP may not be running. */
|
||||||
if (!client)
|
if (!client)
|
||||||
return 0;
|
return 0;
|
||||||
@ -3574,7 +3574,7 @@ static int zl3vni_send_del_to_client(zebra_l3vni_t *zl3vni)
|
|||||||
struct stream *s = NULL;
|
struct stream *s = NULL;
|
||||||
struct zserv *client = NULL;
|
struct zserv *client = NULL;
|
||||||
|
|
||||||
client = zebra_find_client(ZEBRA_ROUTE_BGP);
|
client = zebra_find_client(ZEBRA_ROUTE_BGP, 0);
|
||||||
/* BGP may not be running. */
|
/* BGP may not be running. */
|
||||||
if (!client)
|
if (!client)
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user