Ignore XLX reflectors not starting with XLX

This commit is contained in:
Geoffrey Merck F4FXL - KC3FRA 2019-03-24 07:45:59 +01:00
parent bf83762e2c
commit ff62562e3a

View file

@ -1262,6 +1262,10 @@ void CIRCDDBGatewayThread::loadXLXReflectors()
CHostFile hostFile = CHostFile(m_xlxHostsFileName, true);
for (unsigned int i = 0U; i < hostFile.getCount(); i++) {
wxString reflector = hostFile.getName(i);
if(!reflector.StartsWith(_T("XLX")))
continue;
in_addr address = CUDPReaderWriter::lookup(hostFile.getAddress(i));
bool lock = hostFile.getLock(i);