mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 05:18:47 +00:00
zebra: api.vrf_id should be re->vrf_id
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> This fixes route redistribution for VRFs
This commit is contained in:
parent
cc2e32a333
commit
3d536c7c9c
@ -601,7 +601,7 @@ int zsend_redistribute_route(int cmd, struct zserv *client, struct prefix *p,
|
|||||||
int count = 0;
|
int count = 0;
|
||||||
|
|
||||||
memset(&api, 0, sizeof(api));
|
memset(&api, 0, sizeof(api));
|
||||||
api.vrf_id = VRF_DEFAULT;
|
api.vrf_id = re->vrf_id;
|
||||||
api.type = re->type;
|
api.type = re->type;
|
||||||
api.instance = re->instance;
|
api.instance = re->instance;
|
||||||
api.flags = re->flags;
|
api.flags = re->flags;
|
||||||
|
Loading…
Reference in New Issue
Block a user