From 44e9fcbb19823710aa6ef54bbb3f6fa00b1705a9 Mon Sep 17 00:00:00 2001 From: Vahid Farid Date: Thu, 16 Mar 2023 12:49:57 +0330 Subject: [PATCH] Update index.html --- index.html | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/index.html b/index.html index b67070af..90ff4937 100644 --- a/index.html +++ b/index.html @@ -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;