commit
b5bef0153d
1 changed files with 8 additions and 0 deletions
|
@ -70,6 +70,7 @@ m_aprsPort(0U),
|
|||
m_aprsSuffix(),
|
||||
m_aprsDescription(),
|
||||
m_networkStartup(),
|
||||
m_networkOptions(),
|
||||
m_networkInactivityTimeout(0U),
|
||||
m_networkRevert(false),
|
||||
m_networkDebug(false),
|
||||
|
@ -214,6 +215,8 @@ bool CConf::read()
|
|||
} else if (section == SECTION_NETWORK) {
|
||||
if (::strcmp(key, "Startup") == 0)
|
||||
m_networkStartup = value;
|
||||
else if (::strcmp(key, "Options") == 0)
|
||||
m_networkOptions = value;
|
||||
else if (::strcmp(key, "InactivityTimeout") == 0)
|
||||
m_networkInactivityTimeout = (unsigned int)::atoi(value);
|
||||
else if (::strcmp(key, "Revert") == 0)
|
||||
|
@ -417,6 +420,11 @@ std::string CConf::getNetworkStartup() const
|
|||
return m_networkStartup;
|
||||
}
|
||||
|
||||
std::string CConf::getNetworkOptions() const
|
||||
{
|
||||
return m_networkOptions;
|
||||
}
|
||||
|
||||
unsigned int CConf::getNetworkInactivityTimeout() const
|
||||
{
|
||||
return m_networkInactivityTimeout;
|
||||
|
|
Loading…
Reference in a new issue