summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-07-28 15:57:31 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2011-07-28 15:57:31 +0100
commit2ec472c9deb1bbca578c4f3cb939ef8ae3065bd8 (patch)
tree76168059976ec08875e4b102dfed910f72b57b36
parent885d9cdc175f58c5490c64d38e585678e8e10ebb (diff)
test bytestreams: also only listen on localhost
-rw-r--r--tests/twisted/bytestream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/twisted/bytestream.py b/tests/twisted/bytestream.py
index 54ef9e621..e88c67763 100644
--- a/tests/twisted/bytestream.py
+++ b/tests/twisted/bytestream.py
@@ -145,7 +145,7 @@ class Bytestream(object):
def listen_socks5(q):
for port in range(5000, 5100):
try:
- reactor.listenTCP(port, S5BFactory(q.append))
+ reactor.listenTCP(port, S5BFactory(q.append), interface='localhost')
except CannotListenError:
continue
else: