#16 remove duplicate header check (done below)

pull/32/head
Geoffrey Merck 4 years ago
parent c7734af8af
commit a39e5f656c

@ -102,15 +102,6 @@ void CG2Handler::process(CHeaderData& header)
in_addr address = header.getYourAddress();
unsigned int id = header.getId();
for (unsigned int i = 0U; i < m_maxRoutes; i++) {
CG2Handler* route = m_routes[i];
if (route != NULL) {
// Is this a duplicate header, ignore it
if (route->m_id == id)
return;
}
}
// Find the destination repeater
CRepeaterHandler* repeater = CRepeaterHandler::findDVRepeater(header.getRptCall2());
if (repeater == NULL) {

Loading…
Cancel
Save

Powered by TurnKey Linux.