summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 03:14:42 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 03:14:42 +0000
commitd1388f48fc5971d3bddeca6dd6c0c44f63552063 (patch)
tree8677600788ea2ae558e2cf7c2a18b11b085e9061 /chrome/browser/dom_ui
parent0738a30690b8992c412ac968816e1ea8479577d8 (diff)
downloadchromium_src-d1388f48fc5971d3bddeca6dd6c0c44f63552063.zip
chromium_src-d1388f48fc5971d3bddeca6dd6c0c44f63552063.tar.gz
chromium_src-d1388f48fc5971d3bddeca6dd6c0c44f63552063.tar.bz2
In addition to the logging the IP address that a TCP connect is made to, also include the port number.
This helps when debugging situations where the port has been changed. Review URL: http://codereview.chromium.org/2808008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49893 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r--chrome/browser/dom_ui/net_internals_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/net_internals_ui.cc b/chrome/browser/dom_ui/net_internals_ui.cc
index 44345ff..553d197 100644
--- a/chrome/browser/dom_ui/net_internals_ui.cc
+++ b/chrome/browser/dom_ui/net_internals_ui.cc
@@ -727,7 +727,7 @@ void NetInternalsMessageHandler::IOThreadImpl::OnGetHostResolverCache(
const struct addrinfo* current_address = entry->addrlist.head();
while (current_address) {
address_list->Append(Value::CreateStringValue(
- net::NetAddressToString(current_address)));
+ net::NetAddressToStringWithPort(current_address)));
current_address = current_address->ai_next;
}
entry_dict->Set(L"addresses", address_list);