summaryrefslogtreecommitdiff
path: root/zebra/zebra_rnh.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-08-01 11:40:52 -0300
committerGitHub <noreply@github.com>2019-08-01 11:40:52 -0300
commit7a1872316bfb3432b2d8f49d23ea47e31f73227e (patch)
tree619be030b6936aac6fb8dd227fc6ac174d6de1dc /zebra/zebra_rnh.c
parent2e2094b7d2690ccbef23c3b864ea060ff0b69403 (diff)
parente15ed56cb1b5132790ffc87b56bff76c8af61ac2 (diff)
Merge pull request #4757 from donaldsharp/import_check_fixup
Import check fixup
Diffstat (limited to 'zebra/zebra_rnh.c')
-rw-r--r--zebra/zebra_rnh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c
index 0397b96983..da2fe4a30c 100644
--- a/zebra/zebra_rnh.c
+++ b/zebra/zebra_rnh.c
@@ -924,7 +924,7 @@ void zebra_print_rnh_table(vrf_id_t vrfid, afi_t afi, struct vty *vty,
}
for (rn = route_top(table); rn; rn = route_next(rn)) {
- if (p && prefix_cmp(&rn->p, p) != 0)
+ if (p && !prefix_match(&rn->p, p))
continue;
if (rn->info)