Add IPv6 tethering coordinator
am: 6f0405308b
Change-Id: Icf8034276d4edc7167ad03ff8860ac8e3d05c464
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