zebra: pass instance to zebra_find_client

Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
This commit is contained in:
Mitesh Kanjariya 2017-12-15 02:05:38 -08:00
parent 0412988bd5
commit 6f3a2003d8

View File

@ -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;