Skip to content

Commit

Permalink
stop tampering with the preferIPv4Stack system property (jupnp#95)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Kaufmann <[email protected]>
  • Loading branch information
Simon Kaufmann authored and kaikreuzer committed Apr 9, 2018
1 parent 4f5c4ea commit d28e275
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(",");
Expand Down

0 comments on commit d28e275

Please sign in to comment.