|
|
@ -70,6 +70,7 @@ m_aprsPort(0U),
|
|
|
|
m_aprsSuffix(),
|
|
|
|
m_aprsSuffix(),
|
|
|
|
m_aprsDescription(),
|
|
|
|
m_aprsDescription(),
|
|
|
|
m_networkStartup(),
|
|
|
|
m_networkStartup(),
|
|
|
|
|
|
|
|
m_networkOptions(),
|
|
|
|
m_networkInactivityTimeout(0U),
|
|
|
|
m_networkInactivityTimeout(0U),
|
|
|
|
m_networkRevert(false),
|
|
|
|
m_networkRevert(false),
|
|
|
|
m_networkDebug(false),
|
|
|
|
m_networkDebug(false),
|
|
|
@ -214,6 +215,8 @@ bool CConf::read()
|
|
|
|
} else if (section == SECTION_NETWORK) {
|
|
|
|
} else if (section == SECTION_NETWORK) {
|
|
|
|
if (::strcmp(key, "Startup") == 0)
|
|
|
|
if (::strcmp(key, "Startup") == 0)
|
|
|
|
m_networkStartup = value;
|
|
|
|
m_networkStartup = value;
|
|
|
|
|
|
|
|
else if (::strcmp(key, "Options") == 0)
|
|
|
|
|
|
|
|
m_networkOptions = value;
|
|
|
|
else if (::strcmp(key, "InactivityTimeout") == 0)
|
|
|
|
else if (::strcmp(key, "InactivityTimeout") == 0)
|
|
|
|
m_networkInactivityTimeout = (unsigned int)::atoi(value);
|
|
|
|
m_networkInactivityTimeout = (unsigned int)::atoi(value);
|
|
|
|
else if (::strcmp(key, "Revert") == 0)
|
|
|
|
else if (::strcmp(key, "Revert") == 0)
|
|
|
@ -417,6 +420,11 @@ std::string CConf::getNetworkStartup() const
|
|
|
|
return m_networkStartup;
|
|
|
|
return m_networkStartup;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std::string CConf::getNetworkOptions() const
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return m_networkOptions;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
unsigned int CConf::getNetworkInactivityTimeout() const
|
|
|
|
unsigned int CConf::getNetworkInactivityTimeout() const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return m_networkInactivityTimeout;
|
|
|
|
return m_networkInactivityTimeout;
|
|
|
|