From 650fea1785776d1cd78451b6cf5e7a1597f2e2ce Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 24 May 2015 10:49:56 +0200 Subject: [PATCH] FlightGear link: Fix similar issue as in #1600 --- src/comm/QGCFlightGearLink.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comm/QGCFlightGearLink.cc b/src/comm/QGCFlightGearLink.cc index e6e234056..5373d3666 100644 --- a/src/comm/QGCFlightGearLink.cc +++ b/src/comm/QGCFlightGearLink.cc @@ -90,7 +90,7 @@ void QGCFlightGearLink::run() _udpCommSocket = new QUdpSocket(this); Q_CHECK_PTR(_udpCommSocket); _udpCommSocket->moveToThread(this); - _udpCommSocket->bind(host, port); + _udpCommSocket->bind(host, port, QAbstractSocket::ReuseAddressHint); QObject::connect(_udpCommSocket, SIGNAL(readyRead()), this, SLOT(readBytes())); -- 2.22.0