This commit is contained in:
Cort Buffington 2013-12-06 07:11:19 -06:00
parent cea2cee20e
commit 922308bcb3
1 changed files with 1 additions and 1 deletions

View File

@ -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)) or not(valid_peer(self._peers.keys(), _peerid)):
if not(valid_master(self._network, _peerid) == False or valid_peer(self._peers.keys(), _peerid) == False):
logger.warning('(%s) PeerError: Peer not in peer-list: %s', self._network, int(h(_peerid), 16))
return