Missing import for bytes_4
This commit is contained in:
parent
0fa46e666f
commit
18cf1203e0
@ -1255,17 +1255,6 @@ class routerOBP(OPENBRIDGE):
|
||||
|
||||
# Loop Control
|
||||
|
||||
#if 'LOOPHOLD' in self.STATUS[_stream_id]:
|
||||
#if self.STATUS[_stream_id]['LOOPHOLD'] < 5:
|
||||
#logger.debug ('(%s) Avoid packet due to loophold: %s',self._system,self.STATUS[_stream_id]['LOOPHOLD'])
|
||||
#self.STATUS[_stream_id]['LOOPHOLD'] = self.STATUS[_stream_id]['LOOPHOLD'] + 1
|
||||
#else:
|
||||
#try:
|
||||
#self.STATUS.pop('LOOPHOLD')
|
||||
#except:
|
||||
#pass
|
||||
#return
|
||||
|
||||
for system in systems:
|
||||
if system == self._system:
|
||||
continue
|
||||
|
@ -32,7 +32,7 @@ from twisted.internet import reactor, task
|
||||
|
||||
# Things we import from the main hblink module
|
||||
from hblink import HBSYSTEM, systems, hblink_handler, reportFactory, REPORT_OPCODES, config_reports, mk_aliases
|
||||
from dmr_utils3.utils import bytes_3, int_id, get_alias
|
||||
from dmr_utils3.utils import bytes_3, bytes_4, int_id, get_alias
|
||||
from dmr_utils3 import decode, bptc, const
|
||||
import config
|
||||
import log
|
||||
|
Loading…
Reference in New Issue
Block a user