Commit 6799a424 authored by Ghislain MARY's avatar Ghislain MARY

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.
parent 271e68f1
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment