summaryrefslogtreecommitdiff
path: root/zebra/redistribute.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2017-08-22 11:21:02 -0400
committerGitHub <noreply@github.com>2017-08-22 11:21:02 -0400
commitda010bd0118acda3a56cadb84ace02bc66cd1f3e (patch)
tree7ccf866391d122e6d844a67921c8317fdeb62044 /zebra/redistribute.c
parent3f543889568e7f267f6f6d1e919eeb31a21ee97f (diff)
parenta5fdb4c510dd61f0300f6ed6c1b6a7d33f85933b (diff)
Merge pull request #1024 from opensourcerouting/minor_fixes
Minor fixes
Diffstat (limited to 'zebra/redistribute.c')
-rw-r--r--zebra/redistribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c
index ed27dc3e83..410ddcd4a0 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;