summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge2
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 \