diff options
author | Pavel Tvrdík <pawel.tvrdik@gmail.com> | 2016-01-07 18:24:14 +0100 |
---|---|---|
committer | Pavel Tvrdík <pawel.tvrdik@gmail.com> | 2016-01-07 18:24:14 +0100 |
commit | b9f56921865dfe816091266e990e94db3e2fdbdf (patch) | |
tree | 34864d05d8826c3eee8ce672652f4b971280df73 /nest/rt-table.c | |
parent | de9b87f55863f29eb7965d8a772f8a34f195f4ac (diff) |
Fix check in net_route() in debug mode
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r-- | nest/rt-table.c | 2 |
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); |