diff options
Diffstat (limited to 'src/usr/local/www/bandwidth_by_ip.php')
-rwxr-xr-x | src/usr/local/www/bandwidth_by_ip.php | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/usr/local/www/bandwidth_by_ip.php b/src/usr/local/www/bandwidth_by_ip.php index 9f8cc6c..39f9a01 100755 --- a/src/usr/local/www/bandwidth_by_ip.php +++ b/src/usr/local/www/bandwidth_by_ip.php @@ -1,8 +1,6 @@ <?php /* - * To change this template, choose Tools | Templates - * and open the template in the editor. - * + bandwidth_by_ip.php */ /* @@ -111,8 +109,8 @@ for ($x=2; $x<12; $x++) { if ($bandwidthinfo != "") { $infoarray = explode (":", $bandwidthinfo); if (($filter == "all") || - (($filter == "local") && (ip_in_subnet($infoarray[0], $intsubnet))) || - (($filter == "remote") && (!ip_in_subnet($infoarray[0], $intsubnet)))) { + (($filter == "local") && (ip_in_subnet($infoarray[0], $intsubnet))) || + (($filter == "remote") && (!ip_in_subnet($infoarray[0], $intsubnet)))) { if ($hostipformat == "") { // pass back just the raw IP address $addrdata = $infoarray[0]; @@ -146,7 +144,7 @@ unset($bandwidthinfo, $_grb); unset($listedIPs); //no bandwidth usage found -if ($someinfo == false) +if ($someinfo == false) { echo gettext("no info"); - -?>
\ No newline at end of file +} +?> |