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