Corrects disable IPv6 properties variable name (StackProperties) and its use (HostCandidateHarvester) as reported by Daniel Pocock.
This commit is contained in:
parent
25574cea72
commit
5f278f72e4
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user