Bugzilla – Attachment 1080 Details for
Bug 1162
Inappropriate sequence of syslog messages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix the Inappropriate sequence of log messages
Bind-listenfix.txt (text/plain), 1.49 KB, created by
senthilkumar
on 2006-02-24 16:14:11 AEDT
(
hide
)
Description:
Patch to fix the Inappropriate sequence of log messages
Filename:
MIME Type:
Creator:
senthilkumar
Created:
2006-02-24 16:14:11 AEDT
Size:
1.49 KB
patch
obsolete
>--- sshd.c 2006-02-24 10:03:57.000000000 +0530 >+++ sshd.c-fix 2006-02-24 10:06:16.000000000 +0530 >@@ -1309,8 +1309,6 @@ > &on, sizeof(on)) == -1) > error("setsockopt SO_REUSEADDR: %s", strerror(errno)); > >- debug("Bind to port %s on %s.", strport, ntop); >- > /* Bind the socket to the desired port. */ > if (bind(listen_sock, ai->ai_addr, ai->ai_addrlen) < 0) { > if (!ai->ai_next) >@@ -1318,14 +1316,18 @@ > strport, ntop, strerror(errno)); > close(listen_sock); > continue; >- } >+ } >+ else >+ debug("Bind to port %s on %s.", strport, ntop); >+ > listen_socks[num_listen_socks] = listen_sock; > num_listen_socks++; > > /* Start listening on the port. */ >- 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); > > } > freeaddrinfo(options.listen_addrs);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1162
:
1080
|
1096