Fixed horrible NXCore bug.

This commit is contained in:
Jonathan Naylor 2018-03-22 19:18:07 +00:00
parent e9b9443d31
commit f1eb11a0d3

View File

@ -280,11 +280,11 @@ void CNXDNReflector::run()
unsigned int prt = (*it)->m_port;
if (addr.s_addr != address.s_addr || prt != port)
nxdnNetwork.write(buffer, len, addr, prt);
if (m_nxCoreNetwork != NULL)
m_nxCoreNetwork->write(buffer, len);
}
if (m_nxCoreNetwork != NULL)
m_nxCoreNetwork->write(buffer, len);
if ((buffer[9U] & 0x08U) == 0x08U) {
LogMessage("Received end of transmission");
watchdogTimer.stop();