From 3fd9497c85c09b1d430cac7da85fc498cf8b6a91 Mon Sep 17 00:00:00 2001 From: dogmaphobic Date: Sat, 14 Feb 2015 10:27:52 -0500 Subject: [PATCH] Forcing no proxy for UDP connections. This came through google groups and as the change is right where I'd been working, I added it here to avoid collision. --- src/comm/UDPLink.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/comm/UDPLink.cc b/src/comm/UDPLink.cc index 1347880e0..f32409c3a 100644 --- a/src/comm/UDPLink.cc +++ b/src/comm/UDPLink.cc @@ -32,6 +32,7 @@ This file is part of the QGROUNDCONTROL project #include #include #include +#include #include #include "UDPLink.h" @@ -222,6 +223,7 @@ bool UDPLink::_hardwareConnect() { QHostAddress host = QHostAddress::Any; _socket = new QUdpSocket(); + _socket->setProxy(QNetworkProxy::NoProxy); _connectState = _socket->bind(host, _config->localPort()); QObject::connect(_socket, SIGNAL(readyRead()), this, SLOT(readBytes())); if (_connectState) { -- 2.22.0