1
0
Fork 0

Rename config file values.

ycs232-kbc
Jonathan Naylor 9 years ago
parent 3952cb9343
commit 24acede929

@ -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;

@ -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]

Loading…
Cancel
Save