[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] 65536 isn't a valid port



commit 96f1e0f1867199347e3ee3ab8713ab9d6b91b767
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sat Jun 17 12:25:24 2017 -0700

    65536 isn't a valid port
    
    Oops, off-by-one error. Caught thanks to Roger.
---
 test/integ/process.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/integ/process.py b/test/integ/process.py
index 6fb101c..10f74a1 100644
--- a/test/integ/process.py
+++ b/test/integ/process.py
@@ -45,7 +45,7 @@ DataDirectory %s
 
 
 def random_port():
-  return str(random.randint(1024, 65536))
+  return str(random.randint(1024, 65535))
 
 
 @contextmanager

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits