1
0
Fork 0

Merge pull request #102 from juribeparada/master

Load reflector list after configure Parrot and YSF2DMR pseudo reflectors
ycs232-kbc
Jonathan Naylor 7 years ago committed by GitHub
commit c4beab718c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -228,7 +228,6 @@ int CYSFGateway::run()
unsigned int reloadTime = m_conf.getYSFNetworkReloadTime(); unsigned int reloadTime = m_conf.getYSFNetworkReloadTime();
m_reflectors = new CYSFReflectors(fileName, reloadTime); m_reflectors = new CYSFReflectors(fileName, reloadTime);
m_reflectors->load();
m_reflectors->reload(); m_reflectors->reload();
createWiresX(&rptNetwork); createWiresX(&rptNetwork);
@ -468,6 +467,7 @@ void CYSFGateway::createWiresX(CYSFNetwork* rptNetwork)
if (port > 0U) if (port > 0U)
m_wiresX->setYSF2DMR(address, port); m_wiresX->setYSF2DMR(address, port);
m_reflectors->load();
m_wiresX->start(); m_wiresX->start();
} }

Loading…
Cancel
Save