mirror of
https://github.com/LX3JL/xlxd.git
synced 2026-04-06 06:53:37 +00:00
version 1.1.0
added support for callsign black/white lists in gatekeeper changed DCS timeout to 30 sec to support DMR - DSTAR bridge
This commit is contained in:
parent
4664798ec3
commit
22f489e440
10 changed files with 441 additions and 11 deletions
|
|
@ -25,6 +25,7 @@
|
|||
#include "main.h"
|
||||
#include <string.h>
|
||||
#include "creflector.h"
|
||||
#include "cgatekeeper.h"
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
@ -90,6 +91,9 @@ bool CReflector::Start(void)
|
|||
// reset stop flag
|
||||
m_bStopThreads = false;
|
||||
|
||||
// init gate keeper
|
||||
ok &= g_GateKeeper.Init();
|
||||
|
||||
// create protocols
|
||||
ok &= m_Protocols.Init();
|
||||
|
||||
|
|
@ -138,6 +142,12 @@ void CReflector::Stop(void)
|
|||
m_RouterThreads[i] = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
// close protocols
|
||||
m_Protocols.Close();
|
||||
|
||||
// close gatekeeper
|
||||
g_GateKeeper.Close();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
@ -322,7 +332,7 @@ void CReflector::XmlReportThread(CReflector *This)
|
|||
{
|
||||
// report to xml file
|
||||
std::ofstream xmlFile;
|
||||
xmlFile.open("/var/log/xlxd.xml", std::ios::out | std::ios::trunc);
|
||||
xmlFile.open(XML_PATH, std::ios::out | std::ios::trunc);
|
||||
if ( xmlFile.is_open() )
|
||||
{
|
||||
// write xml file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue