Commit 8d3c6f0e authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Update maxroutes when flushing routes.

parent 9b3ce014
......@@ -100,6 +100,7 @@ flush_route(struct route *route)
if(new_routes == NULL)
return;
routes = new_routes;
maxroutes = n;
}
if(lost)
......
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