diff options
| author | Mitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com> | 2017-12-15 02:05:38 -0800 |
|---|---|---|
| committer | Mitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com> | 2017-12-15 02:05:38 -0800 |
| commit | 6f3a2003d85fa89e153ca688bcbf98fb42830aa2 (patch) | |
| tree | 1a41657f70574357f06b57935e665dc9e12acd1a | |
| parent | 0412988bd50c64e374674ce114efa1d469993033 (diff) | |
zebra: pass instance to zebra_find_client
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
| -rw-r--r-- | zebra/zebra_vxlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index 1d59148b60..97410545a0 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -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; |
