diff --git a/p2p/base/tcpport.cc b/p2p/base/tcpport.cc index f6caf3e8c5..4c1a8e4235 100644 --- a/p2p/base/tcpport.cc +++ b/p2p/base/tcpport.cc @@ -433,21 +433,21 @@ void TCPConnection::OnConnect(rtc::AsyncPacketSocket* socket) { if (socket->GetLocalAddress().IsLoopbackIP()) { RTC_LOG(LS_WARNING) << "Socket is bound to the address:" << socket_address.ipaddr().ToString() - << ", rather then an address associated with network:" + << ", rather than an address associated with network:" << port_->Network()->ToString() << ". Still allowing it since it's localhost."; } else if (IPIsAny(port_->Network()->GetBestIP())) { RTC_LOG(LS_WARNING) << "Socket is bound to the address:" << socket_address.ipaddr().ToString() - << ", rather then an address associated with network:" + << ", rather than an address associated with network:" << port_->Network()->ToString() << ". Still allowing it since it's the 'any' address" << ", possibly caused by multiple_routes being disabled."; } else { RTC_LOG(LS_WARNING) << "Dropping connection as TCP socket bound to IP " << socket_address.ipaddr().ToString() - << ", rather then an address associated with network:" + << ", rather than an address associated with network:" << port_->Network()->ToString(); OnClose(socket, 0); return; diff --git a/p2p/base/turnport.cc b/p2p/base/turnport.cc index 334410ed11..ab23318a0f 100644 --- a/p2p/base/turnport.cc +++ b/p2p/base/turnport.cc @@ -441,21 +441,21 @@ void TurnPort::OnSocketConnect(rtc::AsyncPacketSocket* socket) { if (socket->GetLocalAddress().IsLoopbackIP()) { RTC_LOG(LS_WARNING) << "Socket is bound to the address:" << socket_address.ipaddr().ToString() - << ", rather then an address associated with network:" + << ", rather than an address associated with network:" << Network()->ToString() << ". Still allowing it since it's localhost."; } else if (IPIsAny(Network()->GetBestIP())) { RTC_LOG(LS_WARNING) << "Socket is bound to the address:" << socket_address.ipaddr().ToString() - << ", rather then an address associated with network:" + << ", rather than an address associated with network:" << Network()->ToString() << ". Still allowing it since it's the 'any' address" << ", possibly caused by multiple_routes being disabled."; } else { RTC_LOG(LS_WARNING) << "Socket is bound to the address:" << socket_address.ipaddr().ToString() - << ", rather then an address associated with network:" + << ", rather than an address associated with network:" << Network()->ToString() << ". Discarding TURN port."; OnAllocateError(); return;