mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
Rename config file values.
This commit is contained in:
parent
5a2c569887
commit
ee93e4ce43
2 changed files with 4 additions and 4 deletions
4
Conf.cpp
4
Conf.cpp
|
|
@ -352,9 +352,9 @@ bool CConf::read()
|
||||||
} else if (section == SECTION_FUSION_NETWORK) {
|
} else if (section == SECTION_FUSION_NETWORK) {
|
||||||
if (::strcmp(key, "Enable") == 0)
|
if (::strcmp(key, "Enable") == 0)
|
||||||
m_fusionNetworkEnabled = ::atoi(value) == 1;
|
m_fusionNetworkEnabled = ::atoi(value) == 1;
|
||||||
else if (::strcmp(key, "MyAddress") == 0)
|
else if (::strcmp(key, "LocalAddress") == 0)
|
||||||
m_fusionNetworkMyAddress = value;
|
m_fusionNetworkMyAddress = value;
|
||||||
else if (::strcmp(key, "MyPort") == 0)
|
else if (::strcmp(key, "LocalPort") == 0)
|
||||||
m_fusionNetworkMyPort = (unsigned int)::atoi(value);
|
m_fusionNetworkMyPort = (unsigned int)::atoi(value);
|
||||||
else if (::strcmp(key, "GwyAddress") == 0)
|
else if (::strcmp(key, "GwyAddress") == 0)
|
||||||
m_fusionNetworkGwyAddress = value;
|
m_fusionNetworkGwyAddress = value;
|
||||||
|
|
|
||||||
|
|
@ -78,8 +78,8 @@ Debug=0
|
||||||
|
|
||||||
[System Fusion Network]
|
[System Fusion Network]
|
||||||
Enable=1
|
Enable=1
|
||||||
MyAddress=127.0.0.1
|
LocalAddress=127.0.0.1
|
||||||
MyPort=3200
|
LocalPort=3200
|
||||||
GwyAddress=c4fm.duckdns.org
|
GwyAddress=c4fm.duckdns.org
|
||||||
GwyPort=4200
|
GwyPort=4200
|
||||||
Debug=0
|
Debug=0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue