mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2025-08-02 13:22:26 -04:00
Correct default P25 porsts and add Daemon config variable
This commit is contained in:
parent
278160c31a
commit
c6566f9c84
@ -203,6 +203,8 @@ bool CConf::read()
|
|||||||
m_p25LocalPort = (unsigned int)::atoi(value);
|
m_p25LocalPort = (unsigned int)::atoi(value);
|
||||||
else if (::strcmp(key, "TGListFile") == 0)
|
else if (::strcmp(key, "TGListFile") == 0)
|
||||||
m_p25TGListFile = value;
|
m_p25TGListFile = value;
|
||||||
|
else if (::strcmp(key, "Daemon") == 0)
|
||||||
|
m_daemon = ::atoi(value) == 1;
|
||||||
else if (::strcmp(key, "Debug") == 0)
|
else if (::strcmp(key, "Debug") == 0)
|
||||||
m_p25NetworkDebug = ::atoi(value) == 1;
|
m_p25NetworkDebug = ::atoi(value) == 1;
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,11 @@ URL=www.google.co.uk
|
|||||||
[P25 Network]
|
[P25 Network]
|
||||||
StartupDstId=10200
|
StartupDstId=10200
|
||||||
DstAddress=127.0.0.1
|
DstAddress=127.0.0.1
|
||||||
DstPort=41000
|
DstPort=42010
|
||||||
LocalAddress=127.0.0.1
|
LocalAddress=127.0.0.1
|
||||||
LocalPort=41015
|
LocalPort=42012
|
||||||
TGListFile=TGList-P25.txt
|
TGListFile=TGList-P25.txt
|
||||||
|
Daemon=1
|
||||||
Debug=0
|
Debug=0
|
||||||
|
|
||||||
[DMR Network]
|
[DMR Network]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user