summaryrefslogtreecommitdiffstats
path: root/nest/rt-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r--nest/rt-table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 5d17ca0..1303843 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -1838,8 +1838,8 @@ rt_show(struct rt_show_data *d)
}
else
{
- n = net_find2(d->table, d->prefix, d->pxlen, RTC_UNICAST);
- n2 = net_find2(d->table, d->prefix, d->pxlen, RTC_MULTICAST);
+ n = net_find_cast(d->table, d->prefix, d->pxlen, RTC_UNICAST);
+ n2 = net_find_cast(d->table, d->prefix, d->pxlen, RTC_MULTICAST);
}
if (n || n2)
{