Fixing typo in log messages.
"Rather then" instead of "rather than." TBR=zhihuang@webrtc.org NOTRY=True Bug: None Change-Id: Iaeb2d5d1f2ad539fbbc1a41c95c478b302cb3f9a Reviewed-on: https://webrtc-review.googlesource.com/59426 Commit-Queue: Taylor Brandstetter <deadbeef@webrtc.org> Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22274}
This commit is contained in:

committed by
Commit Bot

parent
a646d30820
commit
3ba7a57f8f
@ -433,21 +433,21 @@ void TCPConnection::OnConnect(rtc::AsyncPacketSocket* socket) {
|
|||||||
if (socket->GetLocalAddress().IsLoopbackIP()) {
|
if (socket->GetLocalAddress().IsLoopbackIP()) {
|
||||||
RTC_LOG(LS_WARNING) << "Socket is bound to the address:"
|
RTC_LOG(LS_WARNING) << "Socket is bound to the address:"
|
||||||
<< socket_address.ipaddr().ToString()
|
<< socket_address.ipaddr().ToString()
|
||||||
<< ", rather then an address associated with network:"
|
<< ", rather than an address associated with network:"
|
||||||
<< port_->Network()->ToString()
|
<< port_->Network()->ToString()
|
||||||
<< ". Still allowing it since it's localhost.";
|
<< ". Still allowing it since it's localhost.";
|
||||||
} else if (IPIsAny(port_->Network()->GetBestIP())) {
|
} else if (IPIsAny(port_->Network()->GetBestIP())) {
|
||||||
RTC_LOG(LS_WARNING)
|
RTC_LOG(LS_WARNING)
|
||||||
<< "Socket is bound to the address:"
|
<< "Socket is bound to the address:"
|
||||||
<< socket_address.ipaddr().ToString()
|
<< socket_address.ipaddr().ToString()
|
||||||
<< ", rather then an address associated with network:"
|
<< ", rather than an address associated with network:"
|
||||||
<< port_->Network()->ToString()
|
<< port_->Network()->ToString()
|
||||||
<< ". Still allowing it since it's the 'any' address"
|
<< ". Still allowing it since it's the 'any' address"
|
||||||
<< ", possibly caused by multiple_routes being disabled.";
|
<< ", possibly caused by multiple_routes being disabled.";
|
||||||
} else {
|
} else {
|
||||||
RTC_LOG(LS_WARNING) << "Dropping connection as TCP socket bound to IP "
|
RTC_LOG(LS_WARNING) << "Dropping connection as TCP socket bound to IP "
|
||||||
<< socket_address.ipaddr().ToString()
|
<< socket_address.ipaddr().ToString()
|
||||||
<< ", rather then an address associated with network:"
|
<< ", rather than an address associated with network:"
|
||||||
<< port_->Network()->ToString();
|
<< port_->Network()->ToString();
|
||||||
OnClose(socket, 0);
|
OnClose(socket, 0);
|
||||||
return;
|
return;
|
||||||
|
@ -441,21 +441,21 @@ void TurnPort::OnSocketConnect(rtc::AsyncPacketSocket* socket) {
|
|||||||
if (socket->GetLocalAddress().IsLoopbackIP()) {
|
if (socket->GetLocalAddress().IsLoopbackIP()) {
|
||||||
RTC_LOG(LS_WARNING) << "Socket is bound to the address:"
|
RTC_LOG(LS_WARNING) << "Socket is bound to the address:"
|
||||||
<< socket_address.ipaddr().ToString()
|
<< socket_address.ipaddr().ToString()
|
||||||
<< ", rather then an address associated with network:"
|
<< ", rather than an address associated with network:"
|
||||||
<< Network()->ToString()
|
<< Network()->ToString()
|
||||||
<< ". Still allowing it since it's localhost.";
|
<< ". Still allowing it since it's localhost.";
|
||||||
} else if (IPIsAny(Network()->GetBestIP())) {
|
} else if (IPIsAny(Network()->GetBestIP())) {
|
||||||
RTC_LOG(LS_WARNING)
|
RTC_LOG(LS_WARNING)
|
||||||
<< "Socket is bound to the address:"
|
<< "Socket is bound to the address:"
|
||||||
<< socket_address.ipaddr().ToString()
|
<< socket_address.ipaddr().ToString()
|
||||||
<< ", rather then an address associated with network:"
|
<< ", rather than an address associated with network:"
|
||||||
<< Network()->ToString()
|
<< Network()->ToString()
|
||||||
<< ". Still allowing it since it's the 'any' address"
|
<< ". Still allowing it since it's the 'any' address"
|
||||||
<< ", possibly caused by multiple_routes being disabled.";
|
<< ", possibly caused by multiple_routes being disabled.";
|
||||||
} else {
|
} else {
|
||||||
RTC_LOG(LS_WARNING) << "Socket is bound to the address:"
|
RTC_LOG(LS_WARNING) << "Socket is bound to the address:"
|
||||||
<< socket_address.ipaddr().ToString()
|
<< socket_address.ipaddr().ToString()
|
||||||
<< ", rather then an address associated with network:"
|
<< ", rather than an address associated with network:"
|
||||||
<< Network()->ToString() << ". Discarding TURN port.";
|
<< Network()->ToString() << ". Discarding TURN port.";
|
||||||
OnAllocateError();
|
OnAllocateError();
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user