From 3d536c7c9c57cc0c9ead33684447477bb68b3acc Mon Sep 17 00:00:00 2001 From: Daniel Walton Date: Tue, 12 Sep 2017 11:03:07 -0700 Subject: [PATCH] zebra: api.vrf_id should be re->vrf_id Signed-off-by: Daniel Walton Reviewed-by: Donald Sharp This fixes route redistribution for VRFs --- zebra/zserv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/zserv.c b/zebra/zserv.c index ef289f3960..61a75e156c 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -601,7 +601,7 @@ int zsend_redistribute_route(int cmd, struct zserv *client, struct prefix *p, int count = 0; memset(&api, 0, sizeof(api)); - api.vrf_id = VRF_DEFAULT; + api.vrf_id = re->vrf_id; api.type = re->type; api.instance = re->instance; api.flags = re->flags; -- 2.39.5