diff --git a/src/org/ice4j/StackProperties.java b/src/org/ice4j/StackProperties.java index 7c43153..6b2627c 100644 --- a/src/org/ice4j/StackProperties.java +++ b/src/org/ice4j/StackProperties.java @@ -128,7 +128,7 @@ public class StackProperties /** * The name of the property used to disabled IPv6 support. */ - public static final String ENABLE_IPv6 = "org.ice4j.ipv6.DISABLED"; + public static final String DISABLE_IPv6 = "org.ice4j.ipv6.DISABLED"; /** * Returns the String value of the specified property (minus all diff --git a/src/org/ice4j/ice/harvest/HostCandidateHarvester.java b/src/org/ice4j/ice/harvest/HostCandidateHarvester.java index 8153fce..6e8ee7d 100644 --- a/src/org/ice4j/ice/harvest/HostCandidateHarvester.java +++ b/src/org/ice4j/ice/harvest/HostCandidateHarvester.java @@ -68,7 +68,7 @@ public class HostCandidateHarvester = NetworkInterface.getNetworkInterfaces(); boolean isIPv6Disabled = StackProperties.getBoolean( - "org.ice4j.ipv6.DISABLED", + StackProperties.DISABLE_IPv6, false); if(transport != Transport.UDP && transport != Transport.TCP)