Correct default P25 porsts and add Daemon config variable

This commit is contained in:
Doug McLain 2020-06-24 02:14:16 -04:00
parent 278160c31a
commit c6566f9c84
2 changed files with 5 additions and 2 deletions

View File

@ -203,6 +203,8 @@ bool CConf::read()
m_p25LocalPort = (unsigned int)::atoi(value);
else if (::strcmp(key, "TGListFile") == 0)
m_p25TGListFile = value;
else if (::strcmp(key, "Daemon") == 0)
m_daemon = ::atoi(value) == 1;
else if (::strcmp(key, "Debug") == 0)
m_p25NetworkDebug = ::atoi(value) == 1;
}

View File

@ -13,10 +13,11 @@ URL=www.google.co.uk
[P25 Network]
StartupDstId=10200
DstAddress=127.0.0.1
DstPort=41000
DstPort=42010
LocalAddress=127.0.0.1
LocalPort=41015
LocalPort=42012
TGListFile=TGList-P25.txt
Daemon=1
Debug=0
[DMR Network]