aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/diag_states_pt/diag_new_states.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/diag_states_pt/diag_new_states.php b/config/diag_states_pt/diag_new_states.php
index 8c82ca4d..00b22e33 100644
--- a/config/diag_states_pt/diag_new_states.php
+++ b/config/diag_states_pt/diag_new_states.php
@@ -279,7 +279,7 @@ function writeStats($fname, &$data) {
function readStats($fname, &$data) {
$fname = "/tmp/" . $fname;
if (file_exists($fname)) {
- $file = fopen($fname,'r');
+ $file = fopen($fname, 'r');
$data = unserialize(fread($file, filesize($fname)));
fclose($file);
}
@@ -346,12 +346,12 @@ include("head.inc");
if ((!isset($sfilter) && (!isset($dfilter))) ||
((isset($sfilter)) && ($entry['srcip'] == $sfilter)) ||
((isset($dfilter)) && ($entry['dstip'] == $dfilter))) {
- ?>
+ ?>
<tr>
- <td class="listlr"><?=displayIP($entry['srcip'],'srcip');?></td>
+ <td class="listlr"><?=displayIP($entry['srcip'], 'srcip');?></td>
<td class="listr"><?=$entry['srcport'];?></td>
<td class="listr"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_<?=$entry['dir'];?>.gif" width="11" height="11" style="margin-top: 2px" alt="" /></td>
- <td class="listr"><?=displayIP($entry['dstip'],'dstip');?></td>
+ <td class="listr"><?=displayIP($entry['dstip'], 'dstip');?></td>
<td class="listr"><?=$entry['dstport'];?></td>
<td class="listr"><?=$entry['protocol'];?></td>
<td class="listr" align="right"><?=$entry['packets'];?></td>