From 6799a424ae69e35ea95f4e65a9555277f91f8ec1 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 3 Jan 2013 15:07:02 +0100 Subject: [PATCH] Fix bug in auto detect procedure of tunnel manager. The same UDP client was always used and so the tunnel could never be enabled by the auto detect mode. --- coreapi/TunnelManager.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/coreapi/TunnelManager.cc b/coreapi/TunnelManager.cc index 71ecc518..028191ed 100644 --- a/coreapi/TunnelManager.cc +++ b/coreapi/TunnelManager.cc @@ -399,6 +399,7 @@ void TunnelManager::processUdpMirrorEvent(const Event &ev){ enable(false); mAutoDetectStarted = false; } else { + mCurrentUdpMirrorClient++; if (mCurrentUdpMirrorClient !=mUdpMirrorClients.end()) { // enable tunnel but also try backup server LOGI("Tunnel is required, enabling; Trying backup udp mirror"); -- 2.39.2