summaryrefslogtreecommitdiff
path: root/nest/rt-table.c
diff options
context:
space:
mode:
authorPavel Tvrdík <pawel.tvrdik@gmail.com>2016-01-07 18:24:14 +0100
committerPavel Tvrdík <pawel.tvrdik@gmail.com>2016-01-07 18:24:14 +0100
commitb9f56921865dfe816091266e990e94db3e2fdbdf (patch)
tree34864d05d8826c3eee8ce672652f4b971280df73 /nest/rt-table.c
parentde9b87f55863f29eb7965d8a772f8a34f195f4ac (diff)
Fix check in net_route() in debug mode
Diffstat (limited to 'nest/rt-table.c')
-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);