From 097c64b65fe44b0b289f58da6d7db0af624a7760 Mon Sep 17 00:00:00 2001 From: Stefan Grundmann Date: Fri, 13 Dec 2024 16:59:52 +0000 Subject: [PATCH] ssh: fix callbacks_daemon_options() type spec Fixes #9187 --- lib/ssh/src/ssh.hrl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ssh/src/ssh.hrl b/lib/ssh/src/ssh.hrl index 46d93a166212..bb4b4f35e1e7 100644 --- a/lib/ssh/src/ssh.hrl +++ b/lib/ssh/src/ssh.hrl @@ -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() ::