Load reflector list after configure Parrot and YSF2DMR pseudo reflectors
This commit is contained in:
parent
470ef96880
commit
5cefef5366
1 changed files with 3 additions and 3 deletions
|
@ -228,7 +228,6 @@ int CYSFGateway::run()
|
|||
unsigned int reloadTime = m_conf.getYSFNetworkReloadTime();
|
||||
|
||||
m_reflectors = new CYSFReflectors(fileName, reloadTime);
|
||||
m_reflectors->load();
|
||||
m_reflectors->reload();
|
||||
|
||||
createWiresX(&rptNetwork);
|
||||
|
@ -460,14 +459,15 @@ void CYSFGateway::createWiresX(CYSFNetwork* rptNetwork)
|
|||
unsigned int port = m_conf.getYSFNetworkParrotPort();
|
||||
|
||||
if (port > 0U)
|
||||
m_wiresX->setParrot(address, port);
|
||||
m_wiresX->setParrot(address, port);
|
||||
|
||||
address = m_conf.getYSFNetworkYSF2DMRAddress();
|
||||
port = m_conf.getYSFNetworkYSF2DMRPort();
|
||||
|
||||
if (port > 0U)
|
||||
m_wiresX->setYSF2DMR(address, port);
|
||||
m_wiresX->setYSF2DMR(address, port);
|
||||
|
||||
m_reflectors->load();
|
||||
m_wiresX->start();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue