mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 13:21:22 +00:00
zebra: Fix afi mistake
When sending the received route in to be added to the rib, actually use the correct Address family. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
78860b9f45
commit
bb374626bb
@ -1472,7 +1472,7 @@ zread_ipv6_add (struct zserv *client, u_short length, struct zebra_vrf *zvrf)
|
||||
rib->vrf_id = zvrf->vrf_id;
|
||||
rib->table = zvrf->table_id;
|
||||
|
||||
ret = rib_add_multipath (AFI_IP, safi, &p, rib);
|
||||
ret = rib_add_multipath (AFI_IP6, safi, &p, rib);
|
||||
/* Stats */
|
||||
if (ret > 0)
|
||||
client->v6_route_add_cnt++;
|
||||
|
Loading…
Reference in New Issue
Block a user