Bugzilla – Attachment 2036 Details for
Bug 1894
ssh requests ipv6 addresses even with ipv6 disabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch solving the problem
openssh-5.8p1-getaddrinfo.patch (text/plain), 610 bytes, created by
jchadima
on 2011-04-27 20:14:08 AEST
(
hide
)
Description:
patch solving the problem
Filename:
MIME Type:
Creator:
jchadima
Created:
2011-04-27 20:14:08 AEST
Size:
610 bytes
patch
obsolete
>diff -up openssh-5.8p1/sshconnect.c.getaddrinfo openssh-5.8p1/sshconnect.c >--- openssh-5.8p1/sshconnect.c.getaddrinfo 2011-04-27 09:51:44.521384633 +0200 >+++ openssh-5.8p1/sshconnect.c 2011-04-27 09:53:21.224443308 +0200 >@@ -355,6 +355,7 @@ ssh_connect(const char *host, struct soc > memset(&hints, 0, sizeof(hints)); > hints.ai_family = family; > hints.ai_socktype = SOCK_STREAM; >+ hints.ai_flags = AI_V4MAPPED | AI_ADDRCONFIG; > snprintf(strport, sizeof strport, "%u", port); > if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) > fatal("%s: Could not resolve hostname %.100s: %s", __progname,
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 1894
: 2036