Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: webrtc/p2p/base/turnport.cc

Issue 2093623004: Add config to prune TURN ports (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add all tests and fix a bug to set port type Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/p2p/base/turnport.cc
diff --git a/webrtc/p2p/base/turnport.cc b/webrtc/p2p/base/turnport.cc
index 567916f4baf6ae2b5f385421b58438f12e768e08..573ca907d6bf73218b4abaa316e89fdcb9e52d72 100644
--- a/webrtc/p2p/base/turnport.cc
+++ b/webrtc/p2p/base/turnport.cc
@@ -190,6 +190,7 @@ TurnPort::TurnPort(rtc::Thread* thread,
int server_priority,
const std::string& origin)
: Port(thread,
+ RELAY_PORT_TYPE,
factory,
network,
socket->GetLocalAddress().ipaddr(),

Powered by Google App Engine
This is Rietveld 408576698