Skip to content

Commit

Permalink
Merge branch 'kuba/ssh/ssh_daemon_eaddr_in_use/OTP-19170' into maint
Browse files Browse the repository at this point in the history
* kuba/ssh/ssh_daemon_eaddr_in_use/OTP-19170:
  ssh: re-use try_listen for ssh:daemon with integer port number
  • Loading branch information
u3s committed Jul 15, 2024
2 parents 17c8774 + fff0a95 commit 0a984b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ssh/src/ssh_acceptor.erl
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ acceptor_init(Parent, SystemSup,

undefined ->
%% No listening socket (nor fd option) was provided; open a listening socket:
case listen(Port, Opts) of
case try_listen(Port, Opts, 4) of
{ok,LSock} ->
proc_lib:init_ack(Parent, {ok, self()}),
acceptor_loop(Port, Address, Opts, LSock, AcceptTimeout, SystemSup);
Expand Down

0 comments on commit 0a984b7

Please sign in to comment.