mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 12:34:55 +00:00
device: upgrade ACD failure message to warning level
A IPv4 conflict detected during the probe is a serious problem, as it prevents the address from being configured. As such, is should be displayed at warning level. A conflict detected after the address is already configured (addr_info->state == NM_L3_ACD_ADDR_STATE_CONFLICT) is less important because NM will try to defend the address and will keep using it.
This commit is contained in:
parent
790e4231f4
commit
fd914be8d7
|
@ -4466,7 +4466,7 @@ _dev_l3_cfg_notify_cb(NML3Cfg *l3cfg, const NML3ConfigNotifyData *notify_data, N
|
|||
char buf_addr[NM_INET_ADDRSTRLEN];
|
||||
|
||||
if (addr_info->state == NM_L3_ACD_ADDR_STATE_USED) {
|
||||
_LOGI(LOGD_DEVICE,
|
||||
_LOGW(LOGD_DEVICE,
|
||||
"IP address %s cannot be configured because it is already in use in the "
|
||||
"network by host %s",
|
||||
nm_inet4_ntop(addr_info->addr, buf_addr),
|
||||
|
|
Loading…
Reference in a new issue