| Index: webrtc/p2p/base/p2ptransportchannel.cc
|
| diff --git a/webrtc/p2p/base/p2ptransportchannel.cc b/webrtc/p2p/base/p2ptransportchannel.cc
|
| index da8b5f76c2f7b85d6684975f1c66881fec25e2f0..c95b04f0d2d103b6d9b64b69526e654c7d5f3a0c 100644
|
| --- a/webrtc/p2p/base/p2ptransportchannel.cc
|
| +++ b/webrtc/p2p/base/p2ptransportchannel.cc
|
| @@ -738,6 +738,9 @@ bool P2PTransportChannel::CreateConnections(const Candidate& remote_candidate,
|
| bool P2PTransportChannel::CreateConnection(PortInterface* port,
|
| const Candidate& remote_candidate,
|
| PortInterface* origin_port) {
|
| + if (!port->SupportsProtocol(remote_candidate.protocol())) {
|
| + return false;
|
| + }
|
| // Look for an existing connection with this remote address. If one is not
|
| // found, then we can create a new connection for this address.
|
| Connection* connection = port->GetConnection(remote_candidate.address());
|
|
|