From 600013605cc9f89f89e0fe935db2fd7e2ec9e96b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 28 Mar 2007 22:40:41 +0000 Subject: [PATCH] For bug #172571, use socket.AF_INET as the default family for socket.getaddrinfo(). (trunk r6320:6321) svn path=/main/branches/2.1.2/; revision=6322 --- bin/emerge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- 2.26.2