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-16 05:53:41 +09:00
parent 05dc2132e0
commit 710ce9e537
+1
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)