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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user