mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
network: fix log messages
This commit is contained in:
parent
e912326e05
commit
1a054a208c
@ -1775,7 +1775,7 @@ static int link_admin_state_up(Link *link) {
|
||||
return 0;
|
||||
|
||||
if (link->activated && link->network->activation_policy == ACTIVATION_POLICY_ALWAYS_DOWN) {
|
||||
log_link_info(link, "ActivationPolicy is \"always-off\", forcing link down.");
|
||||
log_link_info(link, "Activation policy is \"always-down\", forcing link down.");
|
||||
return link_request_to_bring_up_or_down(link, /* up = */ false);
|
||||
}
|
||||
|
||||
@ -1795,7 +1795,7 @@ static int link_admin_state_down(Link *link) {
|
||||
return 0;
|
||||
|
||||
if (link->activated && link->network->activation_policy == ACTIVATION_POLICY_ALWAYS_UP) {
|
||||
log_link_info(link, "ActivationPolicy is \"always-on\", forcing link up.");
|
||||
log_link_info(link, "Activation policy is \"always-up\", forcing link up.");
|
||||
return link_request_to_bring_up_or_down(link, /* up = */ true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user