Alter format of hosts file ready for network reloading.

This commit is contained in:
Jonathan Naylor 2016-09-29 19:56:27 +01:00
parent 0c6c86b1b5
commit f8b0accafb
15 changed files with 106 additions and 410 deletions

View file

@ -195,9 +195,9 @@ int CYSFGateway::run()
bool networkEnabled = m_conf.getNetworkEnabled();
if (networkEnabled) {
std::string fileName = m_conf.getNetworkHosts();
unsigned int port = m_conf.getNetworkStatusPort();
unsigned int reloadTime = m_conf.getNetworkReloadTime();
m_wiresX = new CWiresX(m_callsign, m_suffix, &rptNetwork, fileName, port);
m_wiresX = new CWiresX(m_callsign, m_suffix, &rptNetwork, fileName, reloadTime);
std::string name = m_conf.getName();
unsigned int txFrequency = m_conf.getTxFrequency();