| Index: content/browser/renderer_host/p2p/socket_host_tcp_server.cc
|
| diff --git a/content/browser/renderer_host/p2p/socket_host_tcp_server.cc b/content/browser/renderer_host/p2p/socket_host_tcp_server.cc
|
| index 2418de9e87cc042a2b58ffa2733c567b6e980466..f3c42905120163e2aff7404fb96a85511ff683a1 100644
|
| --- a/content/browser/renderer_host/p2p/socket_host_tcp_server.cc
|
| +++ b/content/browser/renderer_host/p2p/socket_host_tcp_server.cc
|
| @@ -61,7 +61,10 @@ bool P2PSocketHostTcpServer::Init(const net::IPEndPoint& local_address,
|
| VLOG(1) << "Local address: " << local_address_.ToString();
|
|
|
| state_ = STATE_OPEN;
|
| - message_sender_->Send(new P2PMsg_OnSocketCreated(id_, local_address_));
|
| + // NOTE: Remote address can be empty as socket is just listening
|
| + // in this state.
|
| + message_sender_->Send(new P2PMsg_OnSocketCreated(
|
| + id_, local_address_, remote_address.ip_address));
|
| DoAccept();
|
| return true;
|
| }
|
|
|