Revision 6c07db48
Added by Phil Davis about 10 years ago
usr/local/www/bandwidth_by_ip.php | ||
---|---|---|
84 | 84 |
// echo $bandwidthinfo; |
85 | 85 |
$emptyinfocounter = 1; |
86 | 86 |
if ($bandwidthinfo != "") { |
87 |
$infoarray = explode (":",$bandwidthinfo); |
|
87 |
$infoarray = explode (":", $bandwidthinfo);
|
|
88 | 88 |
if (($filter == "all") || |
89 | 89 |
(($filter == "local") && (ip_in_subnet($infoarray[0], $intsubnet))) || |
90 | 90 |
(($filter == "remote") && (!ip_in_subnet($infoarray[0], $intsubnet)))) { |
Also available in: Unified diff
Code spacing
and other random stuff I noticed.
I think this finishes messing with code style. The codebase should match
the developer style guide closely enough that 99.9% of changes will not
feel the need to also massage the formatting.