summaryrefslogtreecommitdiffstats
path: root/usr/local/www/graph.php
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2007-10-26 02:05:51 +0000
committerBill Marquette <billm@pfsense.org>2007-10-26 02:05:51 +0000
commitc24d0dd0c95525a1ac8bf97b0d226ad17bf0294f (patch)
treea74e8a372e79f9717df5c59474c7193d07ab91a2 /usr/local/www/graph.php
parenta7dca53c35ba742fb746496a63e7fd41ae4e0d9c (diff)
downloadpfsense-c24d0dd0c95525a1ac8bf97b0d226ad17bf0294f.zip
pfsense-c24d0dd0c95525a1ac8bf97b0d226ad17bf0294f.tar.gz
Fix for Ticket #1494 was committed from my first stab at the fix and not the actual fixed code and ended up in ticket #1496
Diffstat (limited to 'usr/local/www/graph.php')
-rwxr-xr-xusr/local/www/graph.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/graph.php b/usr/local/www/graph.php
index d79a877..34cba2b 100755
--- a/usr/local/www/graph.php
+++ b/usr/local/www/graph.php
@@ -196,13 +196,13 @@ function plot_data(obj) {
return handle_error();
var diff_ugmt = ugmt - last_ugmt;
- if (last_ifin < ifin) {
+ if (last_ifin > ifin) {
var diff_ifin = ifin - last_ifin;
} else {
real_last_ifin = (4294967296 - last_ifin)
var diff_ifin = ifin + real_last_ifin;
}
- if (last_ifout < ifout) {
+ if (last_ifout > ifout) {
var diff_ifout = ifout - last_ifout;
} else {
real_last_ifout = (4294967296 - last_ifout)
OpenPOWER on IntegriCloud