Permalink
Browse files

Ensure that legacy mode is correctly disabled.

  • Loading branch information...
lhofhansl committed Jul 13, 2018
1 parent ba7cf30 commit 93c0b3b8fbe0fbed45374df1818cfeb571976350
Showing with 4 additions and 0 deletions.
  1. +4 −0 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);

0 comments on commit 93c0b3b

Please sign in to comment.