[Bug 1162] Inappropriate sequence of syslog messages
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Wed Mar 8 00:04:51 EST 2006
http://bugzilla.mindrot.org/show_bug.cgi?id=1162
------- Comment #2 from dtucker at zip.com.au 2006-03-08 00:04 -------
(From update of attachment 1080)
>- debug("Bind to port %s on %s.", strport, ntop);
These things are only debugs and are intended to describe what it's about to
try
(and thus the source of any immediately subsequent errors).
>- logit("Server listening on %s port %s.", ntop, strport);
> if (listen(listen_sock, SSH_LISTEN_BACKLOG) < 0)
> fatal("listen: %.100s", strerror(errno));
>+ else
>+ logit("Server listening on %s port %s.", ntop, strport);
The problem with doing that is that if it fails you now don't know which of the
ports that the listen failed on (remember, there can be more than one).
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list