From b92352d4a0ee250f6dde7a5f714757223ebd16d1 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Fri, 17 Apr 2015 07:26:10 +0200 Subject: Add a comment for updateSpeed --- web/nms.gathering.org/nms2/js/nms.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'web/nms.gathering.org/nms2/js') 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() { -- cgit v1.2.3