diff --git a/src/comm/QGCFlightGearLink.cc b/src/comm/QGCFlightGearLink.cc index e6e234056602b168fff7311ed75e30ba326cd80e..5373d36664ba942a2e22d2b77f24f1216bf2b66f 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()));