From fd914be8d702da4c839e5d73f536a24e43bb0f68 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Wed, 3 Jan 2024 15:41:50 +0100 Subject: [PATCH] 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. --- src/core/devices/nm-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c index f43609338..2dcb98f01 100644 --- a/src/core/devices/nm-device.c +++ b/src/core/devices/nm-device.c @@ -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),