summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-07-30 00:28:35 -0500
committerChris Buechler <cmb@pfsense.org>2015-07-30 00:28:43 -0500
commitffb3d9d53a7eb87af889e17f6626c9df72ddd0cc (patch)
treeb2bcb0c41ed4f958ab827421729f72b76d49f592 /usr/local
parent38e7c09304da0053af97db9270ffe9bcc1f5f5f0 (diff)
downloadpfsense-ffb3d9d53a7eb87af889e17f6626c9df72ddd0cc.zip
pfsense-ffb3d9d53a7eb87af889e17f6626c9df72ddd0cc.tar.gz
fix whitespace
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/diag_dump_states.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/diag_dump_states.php b/usr/local/www/diag_dump_states.php
index 19f17db..beb2bce 100755
--- a/usr/local/www/diag_dump_states.php
+++ b/usr/local/www/diag_dump_states.php
@@ -197,15 +197,15 @@ while ($line = chop(fgets($fd))) {
$ends = preg_split("/\<?-\>?/", $info);
$parts = explode(":", $ends[0]);
if (strstr($info, "->")) {
- $srcip = trim($parts[0]);
+ $srcip = trim($parts[0]);
} else {
- $dstip = trim($parts[0]);
+ $dstip = trim($parts[0]);
}
$parts = explode(":", $ends[count($ends) - 1]);
if (strstr($info, "->")) {
- $dstip = trim($parts[0]);
+ $dstip = trim($parts[0]);
} else {
- $srcip = trim($parts[0]);
+ $srcip = trim($parts[0]);
}
?>
OpenPOWER on IntegriCloud