Commit b9f56921 authored by Pavel Tvrdík's avatar Pavel Tvrdík

Fix check in net_route() in debug mode

parent de9b87f5
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment