Commit 7fd2e566 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Only reconsider old routes when their metric decreases.

parent 6e0dabf7
......@@ -275,7 +275,7 @@ update_route_metric(struct route *route)
} else {
send_triggered_update(route, oldmetric);
}
} else {
} else if(newmetric < 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