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.
This commit is contained in:
Ghislain MARY 2013-01-03 15:07:02 +01:00
parent 271e68f16a
commit 6799a424ae

View file

@ -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");