diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2007-10-29 22:01:53 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2007-10-29 22:01:53 +0000 |
commit | e945fa15811488cf4dfc27267e5956910b36d08f (patch) | |
tree | d9e62b3c4f3775b89fdbafa7c255bc1683db66f0 /usr/local | |
parent | a890a971989a660c6aaafc50b87132e55abb17c4 (diff) | |
download | pfsense-e945fa15811488cf4dfc27267e5956910b36d08f.zip pfsense-e945fa15811488cf4dfc27267e5956910b36d08f.tar.gz |
Fix courtesey of Billm, hackathon 2007 conversation.
Forgotten commit.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/graph.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/graph.php b/usr/local/www/graph.php index 6da572c..640df34 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) |