| Index: webrtc/p2p/base/turnport.cc
|
| diff --git a/webrtc/p2p/base/turnport.cc b/webrtc/p2p/base/turnport.cc
|
| index 4279b0fa5d0d4a36c97541af0089481da618d249..89af91b53f1e81ab7f9681d1eede874a7d4861d6 100644
|
| --- a/webrtc/p2p/base/turnport.cc
|
| +++ b/webrtc/p2p/base/turnport.cc
|
| @@ -435,7 +435,7 @@ void TurnPort::OnAllocateMismatch() {
|
| Connection* TurnPort::CreateConnection(const Candidate& address,
|
| CandidateOrigin origin) {
|
| // TURN-UDP can only connect to UDP candidates.
|
| - if (address.protocol() != UDP_PROTOCOL_NAME) {
|
| + if (!ProtocolMatch(address.protocol())) {
|
| return NULL;
|
| }
|
|
|
|
|