diff --git a/reflector/InterlinkMap.cpp b/reflector/InterlinkMap.cpp index d1cb570..64bb36d 100644 --- a/reflector/InterlinkMap.cpp +++ b/reflector/InterlinkMap.cpp @@ -88,6 +88,7 @@ bool CInterlinkMap::LoadFromFile(const std::string &filename) port = 10017; } } + std::cout << "USING PORT " << port << std::endl; m_InterlinkMap[token[0]] = CInterlinkMapItem(token[1], token[2], (uint16_t)port); } #ifndef NO_DHT diff --git a/reflector/URFProtocol.cpp b/reflector/URFProtocol.cpp index eaef23f..d7cd26b 100644 --- a/reflector/URFProtocol.cpp +++ b/reflector/URFProtocol.cpp @@ -348,7 +348,7 @@ void CURFProtocol::HandlePeerLinks(void) #endif // send connect packet to re-initiate peer link EncodeConnectPacket(&buffer, it->second.GetModules().c_str()); - Send(buffer, it->second.GetIp(), it->second.GetPort()); + Send(buffer, it->second.GetIp()); std::cout << "Sent connect packet to URF peer " << cs << " @ " << it->second.GetIp() << " for modules " << it->second.GetModules() << " to port " << it->second.GetPort() << std::endl; #ifndef NO_DHT }