mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2025-12-06 05:32:02 +01:00
Add some logging
This commit is contained in:
parent
3968c15c55
commit
5c7f3e0be5
|
|
@ -1056,8 +1056,10 @@ void CIRCDDBGatewayThread::processG2()
|
|||
|
||||
default:
|
||||
//Probably someone punching a UDP hole to us, keep track of that
|
||||
if(incomingAddress.s_addr != INADDR_NONE && incomingPort > 0 && incomingPort < 65536)
|
||||
if(incomingAddress.s_addr != INADDR_NONE && incomingPort > 0 && incomingPort < 65536) {
|
||||
wxLogMessage(wxT("Incoming G2 UDP punch from %s:%i"), ::inet_ntoa(incomingAddress), incomingPort));
|
||||
m_cache.updateGatewayG2(wxT(""), incomingAddress, incomingPort);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue