diff --git a/code.js b/code.js index 4e8c2db..c02b31c 100644 --- a/code.js +++ b/code.js @@ -20,7 +20,7 @@ function belongsToSubnet(host, list) { // Match var masked = ip & list[x][1]; - return (masked >>> 0) == (list[x][0] >>> 0); + return (masked ^ list[x][0]) == 0; } var proxy = "__PROXY__";