Fix incorrect MAC address multicast check
This commit is contained in:
parent
d3c1cbdb5b
commit
0908ccbb3a
|
@ -48,7 +48,7 @@ public final class MACAddress {
|
|||
public Type getType() {
|
||||
if (this == BROADCAST) {
|
||||
return Type.BROADCAST;
|
||||
} else if (((address >> 46) & 1) == 1) {
|
||||
} else if (((address >> 40) & 1) == 1) {
|
||||
return Type.MULTICAST;
|
||||
} else {
|
||||
return Type.UNICAST;
|
||||
|
|
Loading…
Reference in New Issue