| Index: webrtc/p2p/base/port.cc
|
| diff --git a/webrtc/p2p/base/port.cc b/webrtc/p2p/base/port.cc
|
| index 4023b322e732ef31e6827bd3fc95715351fc2f22..5be0e8dfa1bce1c9c9a007a98fab0038b66ca941 100644
|
| --- a/webrtc/p2p/base/port.cc
|
| +++ b/webrtc/p2p/base/port.cc
|
| @@ -887,6 +887,7 @@ Connection::Connection(Port* port,
|
| connected_(true),
|
| pruned_(false),
|
| use_candidate_attr_(false),
|
| + received_use_candidate_(false),
|
| remote_ice_mode_(ICEMODE_FULL),
|
| requests_(port->thread()),
|
| rtt_(DEFAULT_RTT),
|
| @@ -1056,8 +1057,10 @@ void Connection::OnReadPacket(
|
| (port_->GetIceRole() == ICEROLE_CONTROLLED)) {
|
| const StunByteStringAttribute* use_candidate_attr =
|
| msg->GetByteString(STUN_ATTR_USE_CANDIDATE);
|
| - if (use_candidate_attr)
|
| + if (use_candidate_attr) {
|
| + set_received_use_candidate(true);
|
| SignalUseCandidate(this);
|
| + }
|
| }
|
| } else {
|
| // The packet had the right local username, but the remote username
|
|
|