diff --git a/Common/G2ProtocolHandlerPool.cpp b/Common/G2ProtocolHandlerPool.cpp index 7db90d8..c93fb00 100644 --- a/Common/G2ProtocolHandlerPool.cpp +++ b/Common/G2ProtocolHandlerPool.cpp @@ -128,8 +128,8 @@ void CG2ProtocolHandlerPool::traverseNat(const std::string& address) bool CG2ProtocolHandlerPool::writeHeader(const CHeaderData& header) { auto handler = findHandler(header.getDestination(), IMT_ADDRESS_AND_PORT); - if(handler == nullptr) - handler = findHandler(header.getDestination(), IMT_ADDRESS_ONLY); + // if(handler == nullptr) + // handler = findHandler(header.getDestination(), IMT_ADDRESS_ONLY); if(handler == nullptr) { handler = new CG2ProtocolHandler(&m_socket, header.getDestination(), G2_BUFFER_LENGTH);