| Index: webrtc/p2p/base/turnport.cc
|
| diff --git a/webrtc/p2p/base/turnport.cc b/webrtc/p2p/base/turnport.cc
|
| index ff0c2922de28334f285e4592aefb9dc78d6db4ad..d4d6caf1422b2458405574b687500dd198831843 100644
|
| --- a/webrtc/p2p/base/turnport.cc
|
| +++ b/webrtc/p2p/base/turnport.cc
|
| @@ -439,7 +439,8 @@ void TurnPort::OnAllocateMismatch() {
|
| }
|
|
|
| Connection* TurnPort::CreateConnection(const Candidate& address,
|
| - CandidateOrigin origin) {
|
| + CandidateOrigin origin,
|
| + const IceConfig& config) {
|
| // TURN-UDP can only connect to UDP candidates.
|
| if (!SupportsProtocol(address.protocol())) {
|
| return NULL;
|
| @@ -461,7 +462,7 @@ Connection* TurnPort::CreateConnection(const Candidate& address,
|
| // and TURN candidate later.
|
| for (size_t index = 0; index < Candidates().size(); ++index) {
|
| if (Candidates()[index].type() == RELAY_PORT_TYPE) {
|
| - ProxyConnection* conn = new ProxyConnection(this, index, address);
|
| + ProxyConnection* conn = new ProxyConnection(this, index, address, config);
|
| AddOrReplaceConnection(conn);
|
| return conn;
|
| }
|
|
|