From d28e275ba8797f14ae4b26b034335756035e242c Mon Sep 17 00:00:00 2001 From: Simon Kaufmann Date: Mon, 9 Apr 2018 14:17:12 +0200 Subject: [PATCH] stop tampering with the preferIPv4Stack system property (#95) Signed-off-by: Simon Kaufmann --- .../org/jupnp/transport/impl/NetworkAddressFactoryImpl.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/bundles/org.jupnp/src/main/java/org/jupnp/transport/impl/NetworkAddressFactoryImpl.java b/bundles/org.jupnp/src/main/java/org/jupnp/transport/impl/NetworkAddressFactoryImpl.java index a41e457b0..b94da3928 100644 --- a/bundles/org.jupnp/src/main/java/org/jupnp/transport/impl/NetworkAddressFactoryImpl.java +++ b/bundles/org.jupnp/src/main/java/org/jupnp/transport/impl/NetworkAddressFactoryImpl.java @@ -76,9 +76,6 @@ public NetworkAddressFactoryImpl() throws InitializationException { } public NetworkAddressFactoryImpl(int streamListenPort, int multicastResponsePort) throws InitializationException { - - System.setProperty("java.net.preferIPv4Stack", "true"); - String useInterfacesString = System.getProperty(SYSTEM_PROPERTY_NET_IFACES); if (useInterfacesString != null) { String[] userInterfacesStrings = useInterfacesString.split(",");