Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Vahid Farid committed Mar 16, 2023
1 parent 1dd715b commit 44e9fcb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,16 +161,10 @@

const urlParams = new URLSearchParams(window.location.search);

let maxIP = urlParams.get('max')
let maxIP = ~~urlParams.get('max')
let testNo = 0;
let validIPs = [];

if (maxIP === null) {
maxIP = 20
} else {
maxIP = parseInt(maxIP);
}

var ips;
var cidr;
let numberOfWorkingIPs = 0;
Expand Down

0 comments on commit 44e9fcb

Please sign in to comment.