Commit ff2ff179 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix trigger_route_change.

It was broken a few commits ago.
parent f2e00ae9
...@@ -524,8 +524,9 @@ trigger_route_change(struct route *route, ...@@ -524,8 +524,9 @@ trigger_route_change(struct route *route,
if(route->installed) if(route->installed)
send_triggered_update(route, oldsrc, oldmetric); send_triggered_update(route, oldsrc, oldmetric);
} else {
return; if(route->metric < oldmetric)
consider_route(route);
} }
} }
......
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