summaryrefslogtreecommitdiffhomepage
path: root/tracker-udp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-26 09:55:19 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-26 09:56:09 +0100
commitfb14a8c250ae7c0b38676241a46eabbf433f4195 (patch)
tree05905b51fed6afb7b94b9b880234e02a73b6e103 /tracker-udp
parent38030b253da02e04c9b55d21a94eb3d70c905074 (diff)
{proto,tracker}-udp: fix misguided SO_REUSEADDR
Diffstat (limited to 'tracker-udp')
-rw-r--r--tracker-udp/ftnoir_tracker_udp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-udp/ftnoir_tracker_udp.cpp b/tracker-udp/ftnoir_tracker_udp.cpp
index f147e5c6..fd627ae1 100644
--- a/tracker-udp/ftnoir_tracker_udp.cpp
+++ b/tracker-udp/ftnoir_tracker_udp.cpp
@@ -67,7 +67,7 @@ void udp::run()
module_status udp::start_tracker(QFrame*)
{
- if (!sock.bind(QHostAddress::Any, quint16(s.port), QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint))
+ if (!sock.bind(QHostAddress::Any, quint16(s.port), QUdpSocket::DontShareAddress))
return error(tr("Can't bind socket -- %1").arg(sock.errorString()));
sock.moveToThread(this);