diff options
author | Ingela Anderton Andin <[email protected]> | 2017-04-04 16:25:39 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2017-04-04 16:25:39 +0200 |
commit | c04e4cd533d9a4185eadda3141e0783b0f5a0fae (patch) | |
tree | fe4796bf3371069132cf591b7524ba48adf6a4cf /lib/ssh/src/ssh.erl | |
parent | 38cd77b3e7afbf3973167c5a339381707e3d95bc (diff) | |
parent | d25ad84195ca42969fbfb017a52aab8c8effc246 (diff) | |
download | otp-c04e4cd533d9a4185eadda3141e0783b0f5a0fae.tar.gz otp-c04e4cd533d9a4185eadda3141e0783b0f5a0fae.tar.bz2 otp-c04e4cd533d9a4185eadda3141e0783b0f5a0fae.zip |
Merge branch 'maint-19' into maint
Diffstat (limited to 'lib/ssh/src/ssh.erl')
-rw-r--r-- | lib/ssh/src/ssh.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh.erl b/lib/ssh/src/ssh.erl index 1f3f77a4e4..290525cec0 100644 --- a/lib/ssh/src/ssh.erl +++ b/lib/ssh/src/ssh.erl @@ -175,7 +175,7 @@ daemon_info(Pid) -> case catch ssh_system_sup:acceptor_supervisor(Pid) of AsupPid when is_pid(AsupPid) -> [Port] = - [Prt || {{ssh_acceptor_sup,any,Prt,default}, + [Prt || {{ssh_acceptor_sup,_,Prt,_}, _WorkerPid,worker,[ssh_acceptor]} <- supervisor:which_children(AsupPid)], {ok, [{port,Port}]}; |