From 02dedf2e08b3bad095594c8221ae46e9b3feca29 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 24 May 2015 10:50:30 +0200 Subject: [PATCH] XPlane link: Fix similar issue as in #1600 --- src/comm/QGCXPlaneLink.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comm/QGCXPlaneLink.cc b/src/comm/QGCXPlaneLink.cc index fa991fc30..100461774 100644 --- a/src/comm/QGCXPlaneLink.cc +++ b/src/comm/QGCXPlaneLink.cc @@ -164,7 +164,7 @@ void QGCXPlaneLink::run() socket = new QUdpSocket(this); socket->moveToThread(this); - connectState = socket->bind(localHost, localPort); + connectState = socket->bind(localHost, localPort, QAbstractSocket::ReuseAddressHint); if (!connectState) { emit statusMessage("Binding socket failed!"); -- 2.22.0