aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-04-26 13:43:45 +0200
committerHans Nilsson <[email protected]>2018-04-27 10:30:25 +0200
commitc2ca477c85e0e88732f634ddfb01ac675a97dddb (patch)
tree06b0de823c66c64ade945049d30c5cbda854bd9f /lib/ssh/src/ssh.erl
parentd2f4de0a8e36e6a25cfd7446ea6fc3623b7f1495 (diff)
downloadotp-c2ca477c85e0e88732f634ddfb01ac675a97dddb.tar.gz
otp-c2ca477c85e0e88732f634ddfb01ac675a97dddb.tar.bz2
otp-c2ca477c85e0e88732f634ddfb01ac675a97dddb.zip
ssh: ssh_channel replaced by ssh_client_channel
Diffstat (limited to 'lib/ssh/src/ssh.erl')
-rw-r--r--lib/ssh/src/ssh.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh.erl b/lib/ssh/src/ssh.erl
index 209f53d249..7ddb1ca5be 100644
--- a/lib/ssh/src/ssh.erl
+++ b/lib/ssh/src/ssh.erl
@@ -426,9 +426,9 @@ start_shell({ok, ConnectionRef}) ->
Args = [{channel_cb, ssh_shell},
{init_args,[ConnectionRef, ChannelId]},
{cm, ConnectionRef}, {channel_id, ChannelId}],
- {ok, State} = ssh_channel:init([Args]),
+ {ok, State} = ssh_client_channel:init([Args]),
try
- ssh_channel:enter_loop(State)
+ ssh_client_channel:enter_loop(State)
catch
exit:normal ->
ok