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.
|
* 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
|
* Returns the String value of the specified property (minus all
|
||||||
|
|||||||
@ -68,7 +68,7 @@ public class HostCandidateHarvester
|
|||||||
= NetworkInterface.getNetworkInterfaces();
|
= NetworkInterface.getNetworkInterfaces();
|
||||||
|
|
||||||
boolean isIPv6Disabled = StackProperties.getBoolean(
|
boolean isIPv6Disabled = StackProperties.getBoolean(
|
||||||
"org.ice4j.ipv6.DISABLED",
|
StackProperties.DISABLE_IPv6,
|
||||||
false);
|
false);
|
||||||
|
|
||||||
if(transport != Transport.UDP && transport != Transport.TCP)
|
if(transport != Transport.UDP && transport != Transport.TCP)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user