Commit 0e326332 authored by Matthieu Boutier's avatar Matthieu Boutier Committed by Juliusz Chroboczek

Fix flush_all_routes : wasn't uninstalling the right one.

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