Skip to content

Commit

Permalink
Ensure that legacy mode is correctly disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
lhofhansl committed Jul 13, 2018
1 parent ba7cf30 commit 93c0b3b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/network/connectionthreads.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 93c0b3b

Please sign in to comment.