From 93c0b3b8fbe0fbed45374df1818cfeb571976350 Mon Sep 17 00:00:00 2001 From: Lars Hofhansl Date: Fri, 13 Jul 2018 02:50:01 -0700 Subject: Ensure that legacy mode is correctly disabled. --- src/network/connectionthreads.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 ConnectionReceiveThread::handlePacketType_Control(Channel *chan m_connection->SetPeerID(peer_id_new); } + // set non legacy mode locally + dynamic_cast(peer)->setNonLegacyPeer(); + + // request the same from the remote side ConnectionCommand cmd; SharedBuffer reply(2); -- cgit v1.2.3