aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_cli.erl
diff options
context:
space:
mode:
authorNiclas Eklund <[email protected]>2010-04-21 10:42:46 +0000
committerErlang/OTP <[email protected]>2010-04-21 10:42:46 +0000
commit08225797f7ef943d0c82a1d9dd6650d94ca2580d (patch)
tree804db67dba672566fe108116c5f7aba8539d1339 /lib/ssh/src/ssh_cli.erl
parent8d1088d461c46211ff91eb21e9470e85f4bdc29c (diff)
downloadotp-08225797f7ef943d0c82a1d9dd6650d94ca2580d.tar.gz
otp-08225797f7ef943d0c82a1d9dd6650d94ca2580d.tar.bz2
otp-08225797f7ef943d0c82a1d9dd6650d94ca2580d.zip
New branch for ssh-2.0 and later
Diffstat (limited to 'lib/ssh/src/ssh_cli.erl')
-rw-r--r--lib/ssh/src/ssh_cli.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_cli.erl b/lib/ssh/src/ssh_cli.erl
index 2764ea2e43..beff6455d1 100644
--- a/lib/ssh/src/ssh_cli.erl
+++ b/lib/ssh/src/ssh_cli.erl
@@ -428,7 +428,7 @@ start_shell(ConnectionManager, State) ->
{ok, User} =
ssh_userreg:lookup_user(ConnectionManager),
{ok, PeerAddr} =
- ssh_connection_manager:peer_addr(ConnectionManager),
+ ssh_cm:get_peer_addr(ConnectionManager),
fun() -> Shell(User, PeerAddr) end;
_ ->
Shell