We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a048d52 commit 2118711Copy full SHA for 2118711
1 file changed
cSploit/src/org/csploit/android/helpers/NetworkHelper.java
@@ -10,7 +10,7 @@ public final class NetworkHelper {
10
* @return the OUI integer
11
*/
12
public static int getOUICode(byte[] macAddress) {
13
- return (macAddress[2] << 16) & (macAddress[1] << 8) & macAddress[0];
+ return (macAddress[0] << 16) | (macAddress[1] << 8) | macAddress[2];
14
}
15
16
/**
0 commit comments