From 3ed0d18dc3e05dc65e426bf1f3b11d29ea7c6603 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Tue, 18 Jan 2022 07:02:15 +0100 Subject: [PATCH] #5 make log message more explicit --- G2ProtocolHandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/G2ProtocolHandler.cpp b/G2ProtocolHandler.cpp index d6cfd86..0106bb6 100644 --- a/G2ProtocolHandler.cpp +++ b/G2ProtocolHandler.cpp @@ -111,11 +111,11 @@ bool CG2ProtocolHandler::readPackets() // save the incoming port (this is to enable mobile hotspots) if (m_portmap.end() == m_portmap.find(m_address.s_addr)) { - CLog::logInfo("new address %s on port %u\n", inet_ntoa(m_address), m_port); + CLog::logInfo("G2 new address %s on port %u\n", inet_ntoa(m_address), m_port); m_portmap[m_address.s_addr] = m_port; } else { if (m_portmap[m_address.s_addr] != m_port) { - CLog::logInfo("new port for %s is %u, was %u\n", inet_ntoa(m_address), m_port, m_portmap[m_address.s_addr]); + CLog::logInfo("G2 new port for %s is %u, was %u\n", inet_ntoa(m_address), m_port, m_portmap[m_address.s_addr]); m_portmap[m_address.s_addr] = m_port; } }