Minor Clean-Up
This commit is contained in:
parent
0291bbbd9d
commit
cea2cee20e
@ -635,7 +635,7 @@ class IPSC(DatagramProtocol):
|
||||
|
||||
# Packets types that must be originated from a peer (including master peer)
|
||||
if _packettype in ANY_PEER_REQUIRED:
|
||||
if not(valid_master(self._network, _peerid) == False or valid_peer(self._peers.keys(), _peerid) == False):
|
||||
if not(valid_master(self._network, _peerid)) or not(valid_peer(self._peers.keys(), _peerid)):
|
||||
logger.warning('(%s) PeerError: Peer not in peer-list: %s', self._network, int(h(_peerid), 16))
|
||||
return
|
||||
|
||||
|
@ -23,7 +23,7 @@ IPSC_TS2_MSK = 0b00000011
|
||||
# Byte 1 - 0x00 = Unknown
|
||||
# Byte 2 - 0x00 = Unknown
|
||||
# Byte 3 - BIT FLAGS:
|
||||
# x... .... = CBSK Message
|
||||
# x... .... = CSBK Message
|
||||
# .x.. .... = Repeater Call Monitoring
|
||||
# ..x. .... = 3rd Party "Console" Application
|
||||
# ...x xxxx = Unknown - default to 0
|
||||
|
Loading…
Reference in New Issue
Block a user