Skip to content

Commit

Permalink
Merge pull request #8 from t-cas/t-cas_sonarcloud-fix
Browse files Browse the repository at this point in the history
Fix sonarcloud error S1313
  • Loading branch information
t-cas authored Jul 8, 2017
2 parents efa0505 + 67555c7 commit 144ed86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jumpssh/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def open(self, retry=0):
# open a `direct-tcpip` channel passing
# the destination hostname:port and the local hostname:port
dest_addr = (self.host, self.port)
local_addr = ('127.0.0.1', SSH_PORT)
local_addr = ('localhost', SSH_PORT)
ssh_channel = self.proxy_transport.open_channel("direct-tcpip", dest_addr, local_addr)
hostname = 'localhost'
port = SSH_PORT
Expand Down

0 comments on commit 144ed86

Please sign in to comment.