From f0c4b8e1c8209229891ed76a1e408bfccd557cee Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Tue, 22 Aug 2017 10:57:55 -0300 Subject: zebra: redistribute srcdest routes to the client daemons Somehow we missed these bits from the original srcdest patchset. Signed-off-by: Renato Westphal --- zebra/redistribute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zebra') diff --git a/zebra/redistribute.c b/zebra/redistribute.c index ed27dc3e8..410ddcd4a 100644 --- a/zebra/redistribute.c +++ b/zebra/redistribute.c @@ -114,7 +114,7 @@ static void zebra_redistribute(struct zserv *client, int type, u_short instance, if (!table) return; - for (rn = route_top(table); rn; rn = route_next(rn)) + for (rn = route_top(table); rn; rn = srcdest_route_next(rn)) RNODE_FOREACH_RE(rn, newre) { struct prefix *dst_p, *src_p; -- cgit v1.2.3