This commit is contained in:
Yann Leboulanger 2013-10-30 11:58:18 +01:00
parent 5261137083
commit 9076ad8156
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class SocksQueue:
# Remove local IPs to not connect to ourself # Remove local IPs to not connect to ourself
for streamhost in file_props.streamhosts: for streamhost in file_props.streamhosts:
if streamhost['host'] == '127.0.0.1' or \ if streamhost['host'] == '127.0.0.1' or \
streamhost['host'] == '::1' streamhost['host'] == '::1':
continue continue
streamhosts_to_test.append(streamhost) streamhosts_to_test.append(streamhost)
if not streamhosts_to_test: if not streamhosts_to_test: