Skip to content

Commit

Permalink
Rename config file values.
Browse files Browse the repository at this point in the history
  • Loading branch information
g4klx committed Jun 8, 2016
1 parent 5a2c569 commit ee93e4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Conf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,9 @@ bool CConf::read()
} else if (section == SECTION_FUSION_NETWORK) {
if (::strcmp(key, "Enable") == 0)
m_fusionNetworkEnabled = ::atoi(value) == 1;
else if (::strcmp(key, "MyAddress") == 0)
else if (::strcmp(key, "LocalAddress") == 0)
m_fusionNetworkMyAddress = value;
else if (::strcmp(key, "MyPort") == 0)
else if (::strcmp(key, "LocalPort") == 0)
m_fusionNetworkMyPort = (unsigned int)::atoi(value);
else if (::strcmp(key, "GwyAddress") == 0)
m_fusionNetworkGwyAddress = value;
Expand Down
4 changes: 2 additions & 2 deletions MMDVM.ini
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ Debug=0

[System Fusion Network]
Enable=1
MyAddress=127.0.0.1
MyPort=3200
LocalAddress=127.0.0.1
LocalPort=3200
GwyAddress=c4fm.duckdns.org
GwyPort=4200
Debug=0
Expand Down

0 comments on commit ee93e4c

Please sign in to comment.