From 15cd73133024281e530b33200a118744153170ef Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 5 Jan 2022 15:39:02 +0000 Subject: [PATCH] Revert "fix packet counter 2" This reverts commit 7b9799cb0cadd041fe32066471235e5bdc35f359. --- bridge_master.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bridge_master.py b/bridge_master.py index 0e45dd3..c4050c2 100644 --- a/bridge_master.py +++ b/bridge_master.py @@ -1617,6 +1617,8 @@ class routerOBP(OPENBRIDGE): } + self.STATUS[_stream_id]['packets'] = self.STATUS[_stream_id]['packets'] +1 + # If we can, use the LC from the voice header as to keep all options intact if _frame_type == HBPF_DATA_SYNC and _dtype_vseq == HBPF_SLT_VHEAD: decoded = decode.voice_head_term(dmrpkt) @@ -1635,7 +1637,6 @@ class routerOBP(OPENBRIDGE): else: - self.STATUS[_stream_id]['packets'] = self.STATUS[_stream_id]['packets'] +1 #Finished stream handling# if '_fin' in self.STATUS[_stream_id]: if '_finlog' not in self.STATUS[_stream_id]: