diff --git a/bridge_master.py b/bridge_master.py index 1dee63d..8b711a6 100644 --- a/bridge_master.py +++ b/bridge_master.py @@ -2370,6 +2370,9 @@ class routerHBP(HBSYSTEM): self.STATUS[_slot]['TX_TIME'] = self.STATUS[_slot]['TX_TIME'] - 20 if (_stream_id != self.STATUS[_slot]['RX_STREAM_ID']): + pass + + if (_frame_type == HBPF_DATA_SYNC) and (_dtype_vseq == HBPF_SLT_VTERM) and (self.STATUS[_slot]['RX_TYPE'] != HBPF_SLT_VTERM): if _int_dst_id == 4000: logger.info('(%s) AMI: Private call from %s to %s (Disconnect)',self._system, int_id(_rf_src), _int_dst_id) AMIOBJ.send_command('ilink 6 0') @@ -2381,9 +2384,6 @@ class routerHBP(HBSYSTEM): AMIOBJ.send_command('ilink 6 0') AMIOBJ.send_command('ilink 3 ' + str(_int_dst_id)) - if (_frame_type == HBPF_DATA_SYNC) and (_dtype_vseq == HBPF_SLT_VTERM) and (self.STATUS[_slot]['RX_TYPE'] != HBPF_SLT_VTERM): - pass - # Mark status variables for use later self.STATUS[_slot]['RX_PEER'] = _peer_id