Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 249562 Details for
Bug 339642
<sys-apps/portage-2.1.9.13/2.2_rc89, emerge --sync either uses IPv4 or IPv6 hosts, never failover
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
display result of getaddrinfo(AF_UNSPEC)
getaddrinfo.py (text/plain), 263 bytes, created by
Zac Medico
on 2010-10-04 18:22:20 UTC
(
hide
)
Description:
display result of getaddrinfo(AF_UNSPEC)
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2010-10-04 18:22:20 UTC
Size:
263 bytes
patch
obsolete
>#!/usr/bin/python > >import socket >import sys > >hostname = sys.argv[1] > >sys.stdout.write("has_ipv6: %s\n" % socket.has_ipv6) >family = socket.AF_UNSPEC >addrinfos = socket.getaddrinfo(hostname, None, family, socket.SOCK_STREAM) >sys.stdout.write("%s\n" % (addrinfos,))
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 Raw
Actions:
View
Attachments on
bug 339642
: 249562