diff options
author | Phil Davis <phil.davis@inf.org> | 2015-08-30 22:26:15 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-08-30 22:26:15 +0545 |
commit | 52b59a96afcde00f98eecfe0bb7924ec406a02ec (patch) | |
tree | e818e71d27b85bfd459b15d766fe19afe89ccc15 /src/usr | |
parent | 683ba309d50913828decb5fe3f6ade059c1dfab2 (diff) | |
download | pfsense-52b59a96afcde00f98eecfe0bb7924ec406a02ec.zip pfsense-52b59a96afcde00f98eecfe0bb7924ec406a02ec.tar.gz |
Update bandwidth_by_ip in bootstrap
Somehow an old version of bandwidth_by_ip is still in bootstrap branch.
Update it with the current version from master - there are no boostrap-specific changes for this file.
Diffstat (limited to 'src/usr')
-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 +} +?> |