| Index: webrtc/p2p/base/turnport.cc
|
| diff --git a/webrtc/p2p/base/turnport.cc b/webrtc/p2p/base/turnport.cc
|
| index 55b3b9479c26cee120055e85ff333219548b2d79..328683b5ae8dbe3126988efc5b00696a6604c9d2 100644
|
| --- a/webrtc/p2p/base/turnport.cc
|
| +++ b/webrtc/p2p/base/turnport.cc
|
| @@ -442,7 +442,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 (!SupportsProtocol(address.protocol())) {
|
| return NULL;
|
| }
|
|
|
|
|