From 70ba74b23a8e470635c5f6fc1324e38898e696a3 Mon Sep 17 00:00:00 2001 From: orbiter Date: Fri, 20 Sep 2013 16:52:37 +0200 Subject: [PATCH] disabled ipv4 preference to enable ipv6-only networks like freifunk --- source/net/yacy/yacy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/yacy/yacy.java b/source/net/yacy/yacy.java index 02c58ba76..900fe5534 100644 --- a/source/net/yacy/yacy.java +++ b/source/net/yacy/yacy.java @@ -622,7 +622,7 @@ public final class yacy { if (OS.isWindows) headless = false; if (args.length >= 1 && args[0].toLowerCase().equals("-gui")) headless = false; System.setProperty("java.awt.headless", headless ? "true" : "false"); - System.setProperty("java.net.preferIPv4Stack", "true"); + // System.setProperty("java.net.preferIPv4Stack", "true"); // DO NOT PREFER IPv6, i.e. freifunk uses ipv6 only and host resolving does not work String s = ""; for (final String a: args) s += a + " "; yacyRelease.startParameter = s.trim();