diff --git a/ipaddresses.php b/ipaddresses.php index 4936b2b..4e5bf59 100644 --- a/ipaddresses.php +++ b/ipaddresses.php @@ -474,7 +474,6 @@ class ipaddresses */ private function networkFirstLastIP ($ip, $cidr, $map) { -echo "$ip, $cidr, $map\n"; if ($this->validIPAddress ($ip) === false) throw new \Exception (dgettext("domframework", "Invalid IP address"), 500); @@ -506,7 +505,6 @@ echo "$ip, $cidr, $map\n"; { $ip = $this->completeAddressWithZero ($ip); $ip = str_replace (":", "", $ip); -echo strlen ($ip)."\n"; $ipArr = str_split ($ip, 2); $ipBin = ""; foreach ($ipArr as $ip) @@ -517,7 +515,6 @@ echo strlen ($ip)."\n"; for ($i = $cidr ; $i < 128 ; $i++) $cidrBin .= "0"; } -echo strlen ($ipBin)."\n"; // Get the binary value of IP if the mask is 1 or put $map if the mask is 0 $ipBaseBin = ""; for ($i = 0 ; $i < strlen ($ipBin) ; $i++)