diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-03-28 22:40:41 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-03-28 22:40:41 +0000 |
commit | 600013605cc9f89f89e0fe935db2fd7e2ec9e96b (patch) | |
tree | 3c9b5431c15dc054b8bc802c7297a2924419f753 | |
parent | For bug #172539, fix ecompressdir suffix handling so that automatic decompres... (diff) | |
download | portage-600013605cc9f89f89e0fe935db2fd7e2ec9e96b.tar.gz portage-600013605cc9f89f89e0fe935db2fd7e2ec9e96b.tar.bz2 portage-600013605cc9f89f89e0fe935db2fd7e2ec9e96b.zip |
For bug #172571, use socket.AF_INET as the default family for socket.getaddrinfo(). (trunk r6320:6321)v2.1.2.3
svn path=/main/branches/2.1.2/; revision=6322
-rwxr-xr-x | bin/emerge | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge index 10e52f801..4d17c44a4 100755 --- a/bin/emerge +++ b/bin/emerge @@ -3948,7 +3948,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction): all_rsync_opts = set(rsync_opts) all_rsync_opts.update( settings.get("PORTAGE_RSYNC_EXTRA_OPTS","").split()) - family = socket.AF_UNSPEC + family = socket.AF_INET if "-4" in all_rsync_opts or "--ipv4" in all_rsync_opts: family = socket.AF_INET elif socket.has_ipv6 and \ |