summaryrefslogtreecommitdiffstats
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:35 -0500
commit324ce0b9130e728cc69007a99e0e7ebc1684205a (patch)
tree6f290f742d278d8973ff0757b1eae3246461de99
parentc5dbb02f91e0abe3e409ad42a7b6fe27e3e60a6c (diff)
downloadpfsense-324ce0b9130e728cc69007a99e0e7ebc1684205a.zip
pfsense-324ce0b9130e728cc69007a99e0e7ebc1684205a.tar.gz
fix whitespace
-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 604248f..6cb3513 100755
--- a/usr/local/www/diag_dump_states.php
+++ b/usr/local/www/diag_dump_states.php
@@ -199,15 +199,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