summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
Diffstat (limited to 'nest')
-rw-r--r--nest/rt-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 25362271..400b9d9c 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -103,7 +103,7 @@ net_route_ip6(struct fib *f, net_addr_ip6 *n)
void *
net_route(rtable *tab, const net_addr *n)
{
- ASSERT(f->addr_type == n->type);
+ ASSERT(tab->addr_type == n->type);
net_addr *n0 = alloca(n->length);
net_copy(n0, n);