mirror of
https://github.com/g4klx/DMRGateway.git
synced 2026-04-06 23:13:48 +00:00
Allow for more rewrite processing options.
This commit is contained in:
parent
bd2366ed23
commit
73270ad7a5
22 changed files with 115 additions and 109 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2017 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2017,2020 by Jonathan Naylor G4KLX
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -36,7 +36,7 @@ CPassAllPC::~CPassAllPC()
|
|||
{
|
||||
}
|
||||
|
||||
bool CPassAllPC::process(CDMRData& data, bool trace)
|
||||
PROCESS_RESULT CPassAllPC::process(CDMRData& data, bool trace)
|
||||
{
|
||||
FLCO flco = data.getFLCO();
|
||||
unsigned int slotNo = data.getSlotNo();
|
||||
|
|
@ -46,5 +46,5 @@ bool CPassAllPC::process(CDMRData& data, bool trace)
|
|||
if (trace)
|
||||
LogDebug("Rule Trace,\tPassAllPC %s Slot=%u: %s", m_name.c_str(), m_slot, ret ? "matched" : "not matched");
|
||||
|
||||
return ret;
|
||||
return ret ? RESULT_MATCHED : RESULT_UNMATCHED;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue