1
0
Fork 0

Fix the reflector data distribution.

ycs232-kbc
Jonathan Naylor 8 years ago
parent 6311a96f30
commit 1f00d67004

@ -253,7 +253,7 @@ void CYSFReflector::run()
watchdogTimer.start(); watchdogTimer.start();
for (std::vector<CYSFRepeater*>::const_iterator it = m_repeaters.begin(); it != m_repeaters.end(); ++it) { for (std::vector<CYSFRepeater*>::const_iterator it = m_repeaters.begin(); it != m_repeaters.end(); ++it) {
if ((*it)->m_address.s_addr != address.s_addr && (*it)->m_port != port) if ((*it)->m_address.s_addr != address.s_addr || (*it)->m_port != port)
network.writeData(buffer, (*it)->m_address, (*it)->m_port); network.writeData(buffer, (*it)->m_address, (*it)->m_port);
} }

Loading…
Cancel
Save