diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2015-04-17 07:26:10 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2015-04-17 07:26:10 +0200 |
commit | b92352d4a0ee250f6dde7a5f714757223ebd16d1 (patch) | |
tree | 58efbed7cdf0aebed354856f109157d9746d52ed | |
parent | ecd8bc78d9014e61251965883244757f5cf208ba (diff) |
Add a comment for updateSpeed
-rw-r--r-- | web/nms.gathering.org/nms2/js/nms.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web/nms.gathering.org/nms2/js/nms.js b/web/nms.gathering.org/nms2/js/nms.js index 733b7c5..134bb98 100644 --- a/web/nms.gathering.org/nms2/js/nms.js +++ b/web/nms.gathering.org/nms2/js/nms.js @@ -597,6 +597,13 @@ function updatePorts() * nms.speed is a total of ifHCInOctets across all client-interfaces * nms.speed_full is a total of for /all/ interfaces. * + * This is run separate of updatePorts mainly for historic reasons, but + * if it was added to the tail end of updatePorts, there'd have to be some + * logic to ensure it was run after both requests. Right now, it's just + * equally wrong for both scenarios, not consistently wrong (or something). + * + * FIXME: Err, yeah, add this to the tail-end of updatePorts instead :D + * */ function updateSpeed() { |