Skip to content

Commit 93c0b3b

Browse files
committed
Ensure that legacy mode is correctly disabled.
1 parent ba7cf30 commit 93c0b3b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/network/connectionthreads.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,6 +1208,10 @@ SharedBuffer<u8> ConnectionReceiveThread::handlePacketType_Control(Channel *chan
12081208
m_connection->SetPeerID(peer_id_new);
12091209
}
12101210

1211+
// set non legacy mode locally
1212+
dynamic_cast<UDPPeer *>(peer)->setNonLegacyPeer();
1213+
1214+
// request the same from the remote side
12111215
ConnectionCommand cmd;
12121216

12131217
SharedBuffer<u8> reply(2);

0 commit comments

Comments
 (0)