Add IPv6 tethering coordinator am: 6f0405308b
am: 4875f44794
Change-Id: I9a5bd7d72ec6a4b63922fc5704d15cb5eafc1e8d
This commit is contained in:
@@ -103,7 +103,7 @@ public class LinkAddress implements Parcelable {
|
|||||||
private boolean isIPv6ULA() {
|
private boolean isIPv6ULA() {
|
||||||
if (address != null && address instanceof Inet6Address) {
|
if (address != null && address instanceof Inet6Address) {
|
||||||
byte[] bytes = address.getAddress();
|
byte[] bytes = address.getAddress();
|
||||||
return ((bytes[0] & (byte)0xfc) == (byte)0xfc);
|
return ((bytes[0] & (byte)0xfe) == (byte)0xfc);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user