Update Landing.java

fixed an rather serious typo in mac address parsing
This commit is contained in:
Matthew Bell
2015-07-17 09:07:31 -04:00
parent f11339bce5
commit 15b68a6fe7
+1
View File
@@ -154,6 +154,7 @@ public final class Landing {
if (str.toLowerCase().equals("random")) {
new java.util.Random().nextBytes(mac);
} else {
i--;
for(int j = 0; j < 6;j++){
mac[j] = Byte.parseByte(args[++i], 16); // parses a hex number
}