Chromium Code Reviews| Index: webrtc/p2p/base/tcpport.cc |
| diff --git a/webrtc/p2p/base/tcpport.cc b/webrtc/p2p/base/tcpport.cc |
| index 2590d0aca893610551ab9af824701361afb27371..ab1d586c525f823d62d20a516192178d97b008e6 100644 |
| --- a/webrtc/p2p/base/tcpport.cc |
| +++ b/webrtc/p2p/base/tcpport.cc |
| @@ -185,9 +185,10 @@ void TCPPort::PrepareAddress() { |
| LOG_J(LS_INFO, this) << "Not listening due to firewall restrictions."; |
| // Note: We still add the address, since otherwise the remote side won't |
| // recognize our incoming TCP connections. |
| - AddAddress(rtc::SocketAddress(ip(), 0), rtc::SocketAddress(ip(), 0), |
| - rtc::SocketAddress(), TCP_PROTOCOL_NAME, "", TCPTYPE_ACTIVE_STR, |
| - LOCAL_PORT_TYPE, ICE_TYPE_PREFERENCE_HOST_TCP, 0, true); |
| + AddAddress(rtc::SocketAddress(ip(), DISCARD_PORT), |
|
pthatcher1
2015/11/11 20:06:24
Can you please leave a comment explaining why DISC
|
| + rtc::SocketAddress(ip(), 0), rtc::SocketAddress(), |
| + TCP_PROTOCOL_NAME, "", TCPTYPE_ACTIVE_STR, LOCAL_PORT_TYPE, |
| + ICE_TYPE_PREFERENCE_HOST_TCP, 0, true); |
| } |
| } |