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;