Stop people creating TG bridges for TG 4000 and 5000
This commit is contained in:
parent
aac52a03a5
commit
d0df2469d6
@ -1765,7 +1765,7 @@ class routerHBP(HBSYSTEM):
|
||||
self.STATUS[_slot]['RX_LC'] = LC_OPT + _dst_id + _rf_src
|
||||
|
||||
#Create default bridge for unknown TG
|
||||
if int_id(_dst_id) >= 5 and int_id(_dst_id) != 9 and (str(int_id(_dst_id)) not in BRIDGES):
|
||||
if int_id(_dst_id) >= 5 and int_id(_dst_id) != 9 and int_id(_dst_id) != 4000 and int_id(_dst_id) != 5000 and (str(int_id(_dst_id)) not in BRIDGES):
|
||||
logger.info('(%s) Bridge for TG %s does not exist. Creating as User Activated. Timeout %s',self._system, int_id(_dst_id),CONFIG['SYSTEMS'][self._system]['DEFAULT_UA_TIMER'])
|
||||
make_single_bridge(_dst_id,self._system,_slot,CONFIG['SYSTEMS'][self._system]['DEFAULT_UA_TIMER'])
|
||||
|
||||
@ -1795,7 +1795,6 @@ class routerHBP(HBSYSTEM):
|
||||
self.STATUS[_slot]['_bcsq'] = True
|
||||
return
|
||||
|
||||
_int_seq = _seq
|
||||
#Duplicate handling#
|
||||
#Duplicate complete packet
|
||||
if self.STATUS[_slot]['lastData'] and self.STATUS[_slot]['lastData'] == _data and _seq > 1:
|
||||
|
Loading…
Reference in New Issue
Block a user