Fix the reflector data distribution.
This commit is contained in:
parent
6311a96f30
commit
1f00d67004
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ void CYSFReflector::run()
|
|||
watchdogTimer.start();
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue