diff options
Diffstat (limited to 'zebra/zserv.c')
| -rw-r--r-- | zebra/zserv.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c index db09941944..7f3d7c7fcd 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -1192,7 +1192,8 @@ static int zread_route_add(struct zserv *client, u_short length, zebra_vxlan_evpn_vrf_route_add( vrf_id, &api.rmac, - &vtep_ip); + &vtep_ip, + &api.prefix); } break; } @@ -1297,7 +1298,7 @@ static int zread_route_del(struct zserv *client, u_short length, rib_delete(afi, api.safi, zvrf_id(zvrf), api.type, api.instance, api.flags, &api.prefix, src_p, NULL, zvrf->table_id, - api.metric, false); + api.metric, false, &api.rmac); /* Stats */ switch (api.prefix.family) { @@ -1498,7 +1499,7 @@ static int zread_ipv4_delete(struct zserv *client, u_short length, table_id = zvrf->table_id; rib_delete(AFI_IP, api.safi, zvrf_id(zvrf), api.type, api.instance, - api.flags, &p, NULL, NULL, table_id, 0, false); + api.flags, &p, NULL, NULL, table_id, 0, false, NULL); client->v4_route_del_cnt++; stream_failure: @@ -1916,7 +1917,8 @@ static int zread_ipv6_delete(struct zserv *client, u_short length, src_pp = NULL; rib_delete(AFI_IP6, api.safi, zvrf_id(zvrf), api.type, api.instance, - api.flags, &p, src_pp, NULL, client->rtm_table, 0, false); + api.flags, &p, src_pp, NULL, client->rtm_table, 0, false, + NULL); client->v6_route_del_cnt++; |
