Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
wrong defautl port
Browse files Browse the repository at this point in the history
  • Loading branch information
BuzzTroll committed Sep 4, 2010
1 parent c852fd6 commit 3a60136
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion control/etc/workspace-control/propagation.conf
Expand Up @@ -42,7 +42,7 @@ http: false
#hdfs: /usr/bin/hadoop

lantorrent: true
lantorrentport: 5893
lantorrentport: 2893
# if lantorrentip is not specified the then it will be assumed that the
# request program is being run from ssh and the contact information will
# come from the SSH_CLIENT env
Expand Down
Expand Up @@ -30,7 +30,7 @@ def validate(self):
self.ltport = self.p.get_conf_or_none("propagation", "lantorrentport")
self.ltport = int(self.ltport)
if not self.ltport:
self.ltport = 5893
self.ltport = 2893

self.ssh = self.p.get_conf_or_none("propagation", "ssh")
if not self.ssh:
Expand Down
2 changes: 1 addition & 1 deletion lantorrent/pylantorrent/request.py
Expand Up @@ -77,7 +77,7 @@ def request(argv, con):
if len(ha) > 1:
port = int(ha[1])
else:
port = 5893
port = 2893

now = datetime.datetime.now()
i = "insert into requests(src_filename, dst_filename, hostname, port, rid, entry_time) values (?, ?, ?, ?, ?, ?)"
Expand Down

0 comments on commit 3a60136

Please sign in to comment.