zebra: redistribute srcdest routes to the client daemons

Somehow we missed these bits from the original srcdest patchset.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
Renato Westphal 2017-08-22 10:57:55 -03:00
parent b81ef7b30a
commit f0c4b8e1c8

View File

@ -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;