diff options
author | Hans Nilsson <hans@erlang.org> | 2020-04-15 09:34:24 +0200 |
---|---|---|
committer | Hans Nilsson <hans@erlang.org> | 2020-04-30 17:14:30 +0200 |
commit | f74464fa5f713642cc4726b2831cad17f81b9a83 (patch) | |
tree | f902d289fe52b064ebdc648752ff228a03f96951 /lib/ssh/src/ssh_acceptor.erl | |
parent | 5526a88e73b96972b99918797642fcf1f3ad56a9 (diff) | |
download | erlang-f74464fa5f713642cc4726b2831cad17f81b9a83.tar.gz |
ssh: Enable foreign dbg messages in ssh_dbg
Diffstat (limited to 'lib/ssh/src/ssh_acceptor.erl')
-rw-r--r-- | lib/ssh/src/ssh_acceptor.erl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh_acceptor.erl b/lib/ssh/src/ssh_acceptor.erl index 15e59dd1fe..960058fa38 100644 --- a/lib/ssh/src/ssh_acceptor.erl +++ b/lib/ssh/src/ssh_acceptor.erl @@ -217,6 +217,11 @@ ssh_dbg_format(connections, {call, {?MODULE,acceptor_init, [_Parent, Port, Address, _Opts, _AcceptTimeout]}}) -> [io_lib:format("Starting LISTENER on ~s:~p\n", [ntoa(Address),Port]) ]; +ssh_dbg_format(connections, {return_from, {?MODULE,acceptor_init,5}, _Ret}) -> + skip; + +ssh_dbg_format(connections, {call, {?MODULE,handle_connection,[_,_,_,_,_]}}) -> + skip; ssh_dbg_format(connections, {return_from, {?MODULE,handle_connection,5}, {error,Error}}) -> ["Starting connection to server failed:\n", io_lib:format("Error = ~p", [Error]) |