Index: webrtc/p2p/base/turnport.cc |
diff --git a/webrtc/p2p/base/turnport.cc b/webrtc/p2p/base/turnport.cc |
index 0255395012936b852f0273d95c1ab71c1703654f..31c15fb3dfcbf11f99eff948d22c2dced51d910c 100644 |
--- a/webrtc/p2p/base/turnport.cc |
+++ b/webrtc/p2p/base/turnport.cc |
@@ -720,11 +720,6 @@ void TurnPort::OnAllocateSuccess(const rtc::SocketAddress& address, |
state_ = STATE_READY; |
rtc::SocketAddress related_address = stun_address; |
- if (!(candidate_filter() & CF_REFLEXIVE)) { |
- // If candidate filter only allows relay type of address, empty raddr to |
- // avoid local address leakage. |
- related_address = rtc::EmptySocketAddressWithFamily(stun_address.family()); |
- } |
// For relayed candidate, Base is the candidate itself. |
AddAddress(address, // Candidate address. |