mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 22:02:23 +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;
|
||||
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. */
|
||||
if (!client)
|
||||
return 0;
|
||||
@ -3574,7 +3574,7 @@ static int zl3vni_send_del_to_client(zebra_l3vni_t *zl3vni)
|
||||
struct stream *s = 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. */
|
||||
if (!client)
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user