forgot a equal sign

This commit is contained in:
bwhitn 2017-12-15 19:53:09 -05:00
parent 75a5fc0ddc
commit 06c83cb44c

View file

@ -54,7 +54,7 @@ const NetBIOS = {
let output = [], let output = [],
offset = args[0]; offset = args[0];
if (input.length <= 32 && (input.length % 2) == 0) { if (input.length <= 32 && (input.length % 2) === 0) {
for (let i = 0; i < input.length; i += 2) { for (let i = 0; i < input.length; i += 2) {
output.push((((input[i] & 0xff) - offset) << 4) | output.push((((input[i] & 0xff) - offset) << 4) |
(((input[i + 1] & 0xff) - offset) & 0xf)); (((input[i + 1] & 0xff) - offset) & 0xf));