diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2017-08-22 15:57:55 +0200 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2017-08-22 15:57:55 +0200 |
commit | f0c4b8e1c8209229891ed76a1e408bfccd557cee (patch) | |
tree | 090d3065c0936a632619e378c7bcc132eb9a30a5 /zebra/redistribute.c | |
parent | zebra: fix display of static routes pointing to nonexistent interfaces (diff) | |
download | frr-f0c4b8e1c8209229891ed76a1e408bfccd557cee.tar.xz frr-f0c4b8e1c8209229891ed76a1e408bfccd557cee.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | zebra/redistribute.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |