summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Swiften/ScreenSharing/ScreenSharing.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/ScreenSharing/ScreenSharing.cpp b/Swiften/ScreenSharing/ScreenSharing.cpp
index 0a477c2..f1b7ebf 100644
--- a/Swiften/ScreenSharing/ScreenSharing.cpp
+++ b/Swiften/ScreenSharing/ScreenSharing.cpp
@@ -68,7 +68,8 @@ bool ScreenSharing::addBestCandidate(boost::shared_ptr<JingleRawUDPTransportPayl
foreach (const NetworkInterface& interface, interfaces) {
if (!interface.isLoopback()) { // exclude loopback
foreach (const HostAddress& addr, interface.getAddresses()) {
- int port = serverSocket->bindOnAvailablePort(addr);
+// int port = serverSocket->bindOnAvailablePort(addr);
+ int port = serverSocket->bind(HostAddressPort(addr, 29999));
if (!port)
continue;