Rename config file values.

This commit is contained in:
Jonathan Naylor 2016-06-08 06:06:59 +01:00
parent 3952cb9343
commit 24acede929
2 changed files with 4 additions and 4 deletions

View file

@ -118,9 +118,9 @@ bool CConf::read()
m_rptAddress = value;
else if (::strcmp(key, "RptPort") == 0)
m_rptPort = (unsigned int)::atoi(value);
else if (::strcmp(key, "MyAddress") == 0)
else if (::strcmp(key, "LocalAddress") == 0)
m_myAddress = value;
else if (::strcmp(key, "MyPort") == 0)
else if (::strcmp(key, "LocalPort") == 0)
m_myPort = (unsigned int)::atoi(value);
else if (::strcmp(key, "Daemon") == 0)
m_daemon = ::atoi(value) == 1;

View file

@ -2,8 +2,8 @@
Callsign=G9BF
RptAddress=127.0.0.1
RptPort=3200
MyAddress=127.0.0.1
MyPort=4200
LocalAddress=127.0.0.1
LocalPort=4200
Daemon=0
[Info]