Skip to content

Commit 2118711

Browse files
committed
fixed #372
1 parent a048d52 commit 2118711

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cSploit/src/org/csploit/android/helpers/NetworkHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public final class NetworkHelper {
1010
* @return the OUI integer
1111
*/
1212
public static int getOUICode(byte[] macAddress) {
13-
return (macAddress[2] << 16) & (macAddress[1] << 8) & macAddress[0];
13+
return (macAddress[0] << 16) | (macAddress[1] << 8) | macAddress[2];
1414
}
1515

1616
/**

0 commit comments

Comments
 (0)