diff options
author | Hans Nilsson <[email protected]> | 2017-03-24 16:02:15 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-03-24 16:02:15 +0100 |
commit | 7f5d5119d59e1741aac6b622880dbc2f08b394de (patch) | |
tree | 2ef825030762e7fff01c45c2112b500e76fa8392 /lib/ssh/src/ssh.erl | |
parent | a748cafdc7063d9f181ba12088db6458793ced2f (diff) | |
download | otp-7f5d5119d59e1741aac6b622880dbc2f08b394de.tar.gz otp-7f5d5119d59e1741aac6b622880dbc2f08b394de.tar.bz2 otp-7f5d5119d59e1741aac6b622880dbc2f08b394de.zip |
ssh: fixed crash in ssh:daemon_info
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}]}; |