From: Pavel TvrdĂ­k Date: Thu, 7 Jan 2016 17:24:14 +0000 (+0100) Subject: Fix check in net_route() in debug mode X-Git-Tag: v2.0.0-pre0~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9f56921865dfe816091266e990e94db3e2fdbdf;p=thirdparty%2Fbird.git Fix check in net_route() in debug mode --- diff --git a/nest/rt-table.c b/nest/rt-table.c index 253622715..400b9d9c4 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);