network: do not call link_check_ready() in link_request_set_routing_policy_rule()
It will be called in link_request_set_nexthop() or serveral handlers().
This commit is contained in:
parent
0c816fcc7b
commit
5d976f5f64
|
@ -932,10 +932,9 @@ static int link_request_set_routing_policy_rule(Link *link) {
|
||||||
}
|
}
|
||||||
|
|
||||||
routing_policy_rule_purge(link->manager, link);
|
routing_policy_rule_purge(link->manager, link);
|
||||||
if (link->routing_policy_rule_messages == 0) {
|
if (link->routing_policy_rule_messages == 0)
|
||||||
link->routing_policy_rules_configured = true;
|
link->routing_policy_rules_configured = true;
|
||||||
link_check_ready(link);
|
else {
|
||||||
} else {
|
|
||||||
log_link_debug(link, "Setting routing policy rules");
|
log_link_debug(link, "Setting routing policy rules");
|
||||||
link_set_state(link, LINK_STATE_CONFIGURING);
|
link_set_state(link, LINK_STATE_CONFIGURING);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue