From d1388f48fc5971d3bddeca6dd6c0c44f63552063 Mon Sep 17 00:00:00 2001 From: "eroman@chromium.org" Date: Wed, 16 Jun 2010 03:14:42 +0000 Subject: 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 --- chrome/browser/dom_ui/net_internals_ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/dom_ui') 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); -- cgit v1.1