aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2019-04-11 15:50:54 +0200
committerHans Nilsson <[email protected]>2019-04-11 15:50:54 +0200
commit3f588941ec05bc69f4bd2ba76c391825f702338e (patch)
tree558ce78d7b3070ebdb3ff94401e626ea22e6c954 /lib/ssh
parent1feae54b6a313f7a35ca1671e3c50f8b434a1bb0 (diff)
downloadotp-3f588941ec05bc69f4bd2ba76c391825f702338e.tar.gz
otp-3f588941ec05bc69f4bd2ba76c391825f702338e.tar.bz2
otp-3f588941ec05bc69f4bd2ba76c391825f702338e.zip
ssh: Add ssh_channel:init/1
that was misstakeingly lost when introducing ssh_client_channel.erl
Diffstat (limited to 'lib/ssh')
-rw-r--r--lib/ssh/src/ssh_channel.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh_channel.erl b/lib/ssh/src/ssh_channel.erl
index 443bd05086..1d977e3bc9 100644
--- a/lib/ssh/src/ssh_channel.erl
+++ b/lib/ssh/src/ssh_channel.erl
@@ -58,6 +58,7 @@
State::term()}.
%%% API
-export([start/4, start/5, start_link/4, start_link/5, call/2, call/3,
+ init/1,
cast/2, reply/2, enter_loop/1]).
%%====================================================================
@@ -76,6 +77,9 @@ cast(ChannelPid, Msg) ->
reply(From, Msg) ->
ssh_client_channel:reply(From, Msg).
+init(Args) ->
+ ssh_client_channel:init(Args).
+
start(ConnectionManager, ChannelId, CallBack, CbInitArgs) ->
ssh_client_channel:start(ConnectionManager, ChannelId, CallBack, CbInitArgs).