Skip to content

Commit

Permalink
ssh: fix callbacks_daemon_options() type spec
Browse files Browse the repository at this point in the history
Fixes #9187
  • Loading branch information
sg2342 committed Dec 13, 2024
1 parent 6cefa05 commit 097c64b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ssh/src/ssh.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -1146,8 +1146,8 @@ in the User's Guide chapter.
""".
-doc(#{title => <<"Daemon Options">>}).
-type callbacks_daemon_options() ::
{failfun, fun((User::string(), PeerAddress::inet:ip_address(), Reason::term()) -> _)}
| {connectfun, fun((User::string(), PeerAddress::inet:ip_address(), Method::string()) ->_)} .
{failfun, fun((User::string(), Peer::{inet:ip_address(), inet:port_number()}, Reason::term()) -> _)}
| {connectfun, fun((User::string(), Peer::{inet:ip_address(), inet:port_number()}, Method::string()) ->_)} .

-doc(#{title => <<"Other data types">>}).
-type opaque_daemon_options() ::
Expand Down

0 comments on commit 097c64b

Please sign in to comment.