diff --git a/YSFGateway/Conf.cpp b/YSFGateway/Conf.cpp index c192892..ffcf328 100644 --- a/YSFGateway/Conf.cpp +++ b/YSFGateway/Conf.cpp @@ -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; diff --git a/YSFGateway/YSFGateway.ini b/YSFGateway/YSFGateway.ini index ff31b1e..e26e7dd 100644 --- a/YSFGateway/YSFGateway.ini +++ b/YSFGateway/YSFGateway.ini @@ -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]