summaryrefslogtreecommitdiff
path: root/p2p/base/port.h
diff options
context:
space:
mode:
Diffstat (limited to 'p2p/base/port.h')
-rw-r--r--p2p/base/port.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/p2p/base/port.h b/p2p/base/port.h
index cccfdad..4893586 100644
--- a/p2p/base/port.h
+++ b/p2p/base/port.h
@@ -155,6 +155,7 @@ class Port : public PortInterface, public rtc::MessageHandler,
uint64 IceTiebreaker() const { return tiebreaker_; }
virtual bool SharedSocket() const { return shared_socket_; }
+ void ResetSharedSocket() { shared_socket_ = false; }
// The thread on which this port performs its I/O.
rtc::Thread* thread() { return thread_; }