Index: webrtc/p2p/base/stunport.cc |
diff --git a/webrtc/p2p/base/stunport.cc b/webrtc/p2p/base/stunport.cc |
index 13ecca4a3a1cb90b2640e45ebee708d47cc2bf37..db8e8dfb273b81c3b3417c93619c75f35cd1e75a 100644 |
--- a/webrtc/p2p/base/stunport.cc |
+++ b/webrtc/p2p/base/stunport.cc |
@@ -397,7 +397,7 @@ void UDPPort::SendStunBindingRequest(const rtc::SocketAddress& stun_addr) { |
} else if (socket_->GetState() == rtc::AsyncPacketSocket::STATE_BOUND) { |
// Check if |server_addr_| is compatible with the port's ip. |
if (IsCompatibleAddress(stun_addr)) { |
- requests_.Send(new StunBindingRequest(this, true, stun_addr)); |
+ requests_.Send(new StunBindingRequest(this, false, stun_addr)); |
pthatcher1
2015/12/02 22:38:08
Can we change StunBindingRequest::keep_alive_ to S
honghaiz3
2015/12/03 01:00:01
Done.
|
} else { |
// Since we can't send stun messages to the server, we should mark this |
// port ready. |