aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/connectionthreads.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/connectionthreads.cpp b/src/network/connectionthreads.cpp
index c4e512119..ccdd1423f 100644
--- a/src/network/connectionthreads.cpp
+++ b/src/network/connectionthreads.cpp
@@ -1208,6 +1208,10 @@ SharedBuffer<u8> ConnectionReceiveThread::handlePacketType_Control(Channel *chan
m_connection->SetPeerID(peer_id_new);
}
+ // set non legacy mode locally
+ dynamic_cast<UDPPeer *>(peer)->setNonLegacyPeer();
+
+ // request the same from the remote side
ConnectionCommand cmd;
SharedBuffer<u8> reply(2);