summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_dump_states.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-08-31 22:23:15 +0545
committerPhil Davis <phil.davis@inf.org>2015-08-31 22:23:15 +0545
commit288a2a0f294f992a9536dfbb5c54dd528badbad5 (patch)
tree8d1c6be8a2cf5848f6df06b631ce2614485648fe /src/usr/local/www/diag_dump_states.php
parent683ba309d50913828decb5fe3f6ade059c1dfab2 (diff)
downloadpfsense-288a2a0f294f992a9536dfbb5c54dd528badbad5.zip
pfsense-288a2a0f294f992a9536dfbb5c54dd528badbad5.tar.gz
bootstrap usr/local/www a to e minor edits
Diffstat (limited to 'src/usr/local/www/diag_dump_states.php')
-rwxr-xr-xsrc/usr/local/www/diag_dump_states.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_dump_states.php b/src/usr/local/www/diag_dump_states.php
index 9bd63f1..68c8bf6 100755
--- a/src/usr/local/www/diag_dump_states.php
+++ b/src/usr/local/www/diag_dump_states.php
@@ -180,9 +180,9 @@ print $form;
$row = 0;
/* get our states */
$grepline = (isset($_POST['filter'])) ? "| /usr/bin/egrep " . escapeshellarg(htmlspecialchars($_POST['filter'])) : "";
- $fd = popen("/sbin/pfctl -s state {$grepline}", "r" );
+ $fd = popen("/sbin/pfctl -s state {$grepline}", "r");
while ($line = chop(fgets($fd))) {
- if($row >= 10000)
+ if ($row >= 10000)
break;
$line_split = preg_split("/\s+/", $line);
OpenPOWER on IntegriCloud