summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2024-01-03 15:41:50 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2024-01-15 17:07:09 +0100
commitfd914be8d702da4c839e5d73f536a24e43bb0f68 (patch)
treebe61ac4f96a71071e29fe8b76e5adecb43f9b55c
parent790e4231f42db3ed8f07cfd6d9b1ef703439df90 (diff)
device: upgrade ACD failure message to warning levelbg/ipv4-dad-enable-by-default
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.
-rw-r--r--src/core/devices/nm-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c
index f436093384..2dcb98f010 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),