summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2017-09-12 20:03:07 +0200
committerDaniel Walton <dwalton@cumulusnetworks.com>2017-09-12 20:03:07 +0200
commit3d536c7c9c57cc0c9ead33684447477bb68b3acc (patch)
tree74180126530f644ccff4823e5699a2b965675e99 /zebra
parentMerge pull request #1156 from donaldsharp/cleaner (diff)
downloadfrr-3d536c7c9c57cc0c9ead33684447477bb68b3acc.tar.xz
frr-3d536c7c9c57cc0c9ead33684447477bb68b3acc.zip
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
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c
index ef289f396..61a75e156 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;