Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(706)

Unified Diff: webrtc/base/network.cc

Issue 1635823004: Fix BasicNetworkManager not to spam logs when internet is unreacheable. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/network.cc
diff --git a/webrtc/base/network.cc b/webrtc/base/network.cc
index 4525c3ccb6045f6b0ed8f9cc54c4ff64f452cef2..3c38e5bce45be6e0e3de9ea0ff2330132577d95d 100644
--- a/webrtc/base/network.cc
+++ b/webrtc/base/network.cc
@@ -780,7 +780,7 @@ IPAddress BasicNetworkManager::QueryDefaultLocalAddress(int family) const {
if (socket->Connect(SocketAddress(
family == AF_INET ? kPublicIPv4Host : kPublicIPv6Host, kPublicPort)) <
0) {
- LOG_ERR(LERROR) << "Connect failed with " << socket->GetError();
+ LOG(LS_INFO) << "Connect failed with " << socket->GetError();
return IPAddress();
}
return socket->GetLocalAddress().ipaddr();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698