revert previous change;

pull/75/head
Bryan Biedenkapp 1 year ago
parent 25c3babb4b
commit e1ecdffe21

@ -10,7 +10,6 @@
#include "fne/Defines.h"
#include "common/edac/SHA256.h"
#include "common/network/json/json.h"
#include "common/network/tcp/Socket.h"
#include "common/zlib/zlib.h"
#include "common/Log.h"
#include "common/Utils.h"
@ -2397,7 +2396,6 @@ bool FNENetwork::writePeerNAK(uint32_t peerId, const char* tag, NET_CONN_NAK_REA
__SET_UINT16B((uint16_t)reason, buffer, 10U); // Reason
logPeerNAKReason(peerId, tag, reason);
LogWarning(LOG_NET, "PEER %u NAK %s, %s:%u", peerId, tag, (uint16_t)reason, tcp::Socket::address(addr).c_str(), tcp::Socket::port(addr));
return m_frameQueue->write(buffer, 12U, createStreamId(), peerId, m_peerId,
{ NET_FUNC::NAK, NET_SUBFUNC::NOP }, 0U, addr, addrLen);
}

Loading…
Cancel
Save

Powered by TurnKey Linux.