summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGit <git@what.cd>2014-08-13 08:00:26 +0000
committerGit <git@what.cd>2014-08-13 08:00:26 +0000
commit76490754e268e78d497706a60fa08785c89cbdd3 (patch)
treec2490975dd34b88578be8e03ad2370dabbfdc917
parent4a08c9ccfba7d2e35de065351835e2fa107f06f5 (diff)
downloadGazelle-76490754e268e78d497706a60fa08785c89cbdd3.zip
Gazelle-76490754e268e78d497706a60fa08785c89cbdd3.tar.gz
Gazelle-76490754e268e78d497706a60fa08785c89cbdd3.tar.bz2
Empty commit
-rw-r--r--classes/tools.class.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/tools.class.php b/classes/tools.class.php
index 7f1c4f5..435dd3a 100644
--- a/classes/tools.class.php
+++ b/classes/tools.class.php
@@ -285,13 +285,13 @@ class Tools {
}
/**
- * Check if an IP is part of a given CIDR range.
- * @param string $CheckIP the IP to be looked up
+ * Check if an IP address is part of a given CIDR range.
+ * @param string $CheckIP the IP address to be looked up
* @param string $Subnet the CIDR subnet to be checked against
*/
public static function check_cidr_range($CheckIP, $Subnet) {
$IP = ip2long($CheckIP);
- $CIDR = split('/',$Subnet);
+ $CIDR = split('/', $Subnet);
$SubnetIP = ip2long($CIDR[0]);
$SubnetMaskBits = 32 - $CIDR[1];