@ -2419,8 +2419,9 @@ class routerHBP(HBSYSTEM):
#Packet rate limit
#Rate drop
if self.STATUS[_slot]['packets'] > 18 and (self.STATUS[_slot]['packets'] / self.STATUS[slot]['RX_START'] > 25):
if self.STATUS[_slot]['packets'] > 18 and (self.STATUS[_slot]['packets'] / (pkt_time - self.STATUS[_slot]['RX_START'])):
logger.warning("(%s) *PacketControl* RATE DROP! Stream ID:, %s TGID: %s",self._system,int_id(_stream_id),int_id(_dst_id))
self.STATUS[_slot]['LAST'] = pkt_time
return
#Timeout
Powered by TurnKey Linux.