This commit is contained in:
Cort Buffington 2016-12-21 19:59:16 -06:00
parent d7070dacf9
commit 80941c9608
1 changed files with 1 additions and 1 deletions

View File

@ -761,7 +761,7 @@ class IPSC(DatagramProtocol):
# PACKETS THAT WE RECEIVE FROM ANY VALID PEER OR VALID MASTER
if _packettype in ANY_PEER_REQUIRED:
if not(self.valid_master(_peerid) == False or self.valid_peer(self._peers.keys(), _peerid) == False):
if not(self.valid_master(_peerid) == False or self.valid_peer(_peerid) == False):
self._logger.warning('(%s) PeerError: Peer not in peer-list: %s, %s:%s', self._system, int_id(_peerid), host, port)
return