From 410098959d327eb8614e90ea51a622bf42818dd5 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Fri, 4 Nov 2016 08:25:48 +0000 Subject: [PATCH] Handle unknown CSBKs better. --- DMRCSBK.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DMRCSBK.cpp b/DMRCSBK.cpp index f530f5b..97a4268 100644 --- a/DMRCSBK.cpp +++ b/DMRCSBK.cpp @@ -96,7 +96,9 @@ bool CDMRCSBK::put(const unsigned char* bytes) default: CUtils::dump("Unhandled CSBK type", m_data, 12U); - return false; + m_srcId = 0U; + m_dstId = 0U; + return true; } return true;