aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_subsystem_sup.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-04-27 10:31:01 +0200
committerHans Nilsson <[email protected]>2018-04-27 10:31:01 +0200
commit82ac72abf72c25fb092486e50ddac700bec17341 (patch)
tree06b0de823c66c64ade945049d30c5cbda854bd9f /lib/ssh/src/ssh_subsystem_sup.erl
parent56e88f364a32b471b03e2364c2eb84783642ad88 (diff)
parentc2ca477c85e0e88732f634ddfb01ac675a97dddb (diff)
downloadotp-82ac72abf72c25fb092486e50ddac700bec17341.tar.gz
otp-82ac72abf72c25fb092486e50ddac700bec17341.tar.bz2
otp-82ac72abf72c25fb092486e50ddac700bec17341.zip
Merge branch 'hans/ssh/channel_maintenance/OTP-15041'
* hans/ssh/channel_maintenance/OTP-15041: ssh: ssh_channel replaced by ssh_client_channel ssh: ssh_daemon_channel replaced by ssh_server_channel ssh: Use ssh_daemon_channel_sup and ssh_damon_channel ssh: Create doc for the ssh_daemon_channel behaviour
Diffstat (limited to 'lib/ssh/src/ssh_subsystem_sup.erl')
-rw-r--r--lib/ssh/src/ssh_subsystem_sup.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/ssh/src/ssh_subsystem_sup.erl b/lib/ssh/src/ssh_subsystem_sup.erl
index 77da240a66..f80be7f20b 100644
--- a/lib/ssh/src/ssh_subsystem_sup.erl
+++ b/lib/ssh/src/ssh_subsystem_sup.erl
@@ -48,7 +48,7 @@ connection_supervisor(SupPid) ->
channel_supervisor(SupPid) ->
Children = supervisor:which_children(SupPid),
- ssh_channel_sup(Children).
+ ssh_server_channel_sup(Children).
%%%=========================================================================
%%% Supervisor callback
@@ -78,8 +78,8 @@ ssh_connection_child_spec(Role, Address, Port, _Profile, Options) ->
}.
ssh_channel_child_spec(Role, Address, Port, _Profile, Options) ->
- #{id => id(Role, ssh_channel_sup, Address, Port),
- start => {ssh_channel_sup, start_link, [Options]},
+ #{id => id(Role, ssh_server_channel_sup, Address, Port),
+ start => {ssh_server_channel_sup, start_link, [Options]},
restart => temporary,
type => supervisor
}.
@@ -92,10 +92,10 @@ ssh_connection_sup([{_, Child, _, [ssh_connection_sup]} | _]) ->
ssh_connection_sup([_ | Rest]) ->
ssh_connection_sup(Rest).
-ssh_channel_sup([{_, Child, _, [ssh_channel_sup]} | _]) ->
+ssh_server_channel_sup([{_, Child, _, [ssh_server_channel_sup]} | _]) ->
Child;
-ssh_channel_sup([_ | Rest]) ->
- ssh_channel_sup(Rest).
+ssh_server_channel_sup([_ | Rest]) ->
+ ssh_server_channel_sup(Rest).