StorjOld / pyp2p

http://storj.io
MIT License
168 stars 45 forks source link

Fix Upper Bound for Ports #19

Closed F483 closed 8 years ago

F483 commented 8 years ago

Currently its set to 49151, but it should be 65535

Places where it needs to be changed:

pyp2p/lib.py:50:    if port is None or port < 1024 or port > 49151:
pyp2p/lib.py:51:        port = random.randint(1024, 49151)