From fc56fa62a693c68997669dbf1e130a0b2061bbdf Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 5 Jan 2022 17:53:19 +0000 Subject: [PATCH] df;ld --- bridge_master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge_master.py b/bridge_master.py index 322b8fd..2f63e68 100644 --- a/bridge_master.py +++ b/bridge_master.py @@ -1522,7 +1522,7 @@ class routerOBP(OPENBRIDGE): call_duration = pkt_time - self.STATUS[_stream_id]['START'] packet_rate = 0 if 'packets' in self.STATUS[_stream_id]: - packet_rate = self.STATUS[_stream_id]['packets'] / call_duration + packet_rate = self.STATUS[_stream_id]['packets'] / call_duration logger.warning("(%s) OBP UNIT *LoopControl* FIRST OBP %s, STREAM ID: %s, TG %s, IGNORE THIS SOURCE. PACKET RATE %0.2f/s",self._system, fi, int_id(_stream_id), int_id(_dst_id),packet_rate) self.STATUS[_stream_id]['LOOPLOG'] = True self.STATUS[_stream_id]['LAST'] = pkt_time