summaryrefslogtreecommitdiffstats
path: root/zebra/redistribute.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-08-22 15:57:55 +0200
committerRenato Westphal <renato@opensourcerouting.org>2017-08-22 15:57:55 +0200
commitf0c4b8e1c8209229891ed76a1e408bfccd557cee (patch)
tree090d3065c0936a632619e378c7bcc132eb9a30a5 /zebra/redistribute.c
parentzebra: fix display of static routes pointing to nonexistent interfaces (diff)
downloadfrr-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.c2
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;