network: link_check_ready() returns earlier if routes are not configured yet

link_request_set_routes() calls link_check_ready(), so it is not
necessary to continue that here.
This commit is contained in:
Yu Watanabe 2019-05-13 06:48:31 +09:00
parent 05dc2132e0
commit 710ce9e537
1 changed files with 1 additions and 0 deletions

View File

@ -949,6 +949,7 @@ void link_check_ready(Link *link) {
if (!link->addresses_ready) {
link->addresses_ready = true;
link_request_set_routes(link);
return;
}
if (!link->static_routes_configured)