diff --git a/src/comm/QGCXPlaneLink.cc b/src/comm/QGCXPlaneLink.cc index fa991fc308314d97ee03f0275a6eacca30b94046..1004617744a6bd432ae47d59080a77dbe60834eb 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!");