From abc4c128b14fc9ee31adf35515e6895367630b46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Tue, 17 Oct 2023 10:19:34 +0200 Subject: [PATCH] NetworkDeviceDiscovery: Update warning regarding multiple IPs for one MAC address. --- .../hardware/network/networkdevicediscoveryreplyimpl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libnymea-core/hardware/network/networkdevicediscoveryreplyimpl.cpp b/libnymea-core/hardware/network/networkdevicediscoveryreplyimpl.cpp index 16ae0919..8503c86b 100644 --- a/libnymea-core/hardware/network/networkdevicediscoveryreplyimpl.cpp +++ b/libnymea-core/hardware/network/networkdevicediscoveryreplyimpl.cpp @@ -239,9 +239,9 @@ void NetworkDeviceDiscoveryReplyImpl::verifyComplete(const MacAddress &macAddres if (m_networkDeviceCache[macAddress].isComplete() && m_networkDeviceCache[macAddress].isValid()) { if (m_networkDeviceInfos.hasMacAddress(macAddress)) { if (m_networkDeviceInfos.get(macAddress) != m_networkDeviceCache.value(macAddress)) { - qCWarning(dcNetworkDeviceDiscovery()) << "Already complete network device info changed during discovery process! Please report a bug if you see this message containing following 2 lines:"; - qCWarning(dcNetworkDeviceDiscovery()) << m_networkDeviceInfos.get(macAddress); - qCWarning(dcNetworkDeviceDiscovery()) << m_networkDeviceCache.value(macAddress); + qCDebug(dcNetworkDeviceDiscovery()) << "One MAC address seem to be reachable using 2 IP addresses, which is OK. Not updating the network device info and keeping the current information."; + qCDebug(dcNetworkDeviceDiscovery()) << "--> Keeping " << m_networkDeviceInfos.get(macAddress); + qCDebug(dcNetworkDeviceDiscovery()) << "--> Ignoring" << m_networkDeviceCache.value(macAddress); } } else { m_networkDeviceInfos.append(m_networkDeviceCache.value(macAddress));