Bugzilla – Attachment 191 Details for
Bug 408
sshd[25790]: error: socket: Protocol not supported
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Suppress protocol errors
channels-suppress-ipv6-errs.diff (text/plain), 574 bytes, created by
Damien Miller
on 2003-01-03 15:26:22 AEDT
(
hide
)
Description:
Suppress protocol errors
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2003-01-03 15:26:22 AEDT
Size:
574 bytes
patch
obsolete
>Index: channels.c >=================================================================== >RCS file: /var/cvs/openssh/channels.c,v >retrieving revision 1.159 >diff -u -r1.159 channels.c >--- channels.c 23 Dec 2002 02:44:36 -0000 1.159 >+++ channels.c 3 Jan 2003 04:25:51 -0000 >@@ -2281,7 +2281,8 @@ > } > sock = socket(ai->ai_family, SOCK_STREAM, 0); > if (sock < 0) { >- error("socket: %.100s", strerror(errno)); >+ if (ai->next == NULL || errno != EPROTONOSUPPORT) >+ error("socket: %.100s", strerror(errno)); > continue; > } > if (fcntl(sock, F_SETFL, O_NONBLOCK) < 0)
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 408
: 191