Commit ec263a91 authored by Matthieu Boutier's avatar Matthieu Boutier Committed by Juliusz Chroboczek

Fix flush_all_routes : wasn't uninstalling the right one.

parent 8517895e
......@@ -259,7 +259,7 @@ flush_all_routes()
while(i < route_slots) {
/* Uninstall first, to avoid calling route_lost. */
if(routes[i]->installed)
uninstall_route(routes[0]);
uninstall_route(routes[i]);
flush_route(routes[i]);
}
i--;
......
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