aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/nms-map-handlers.js
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2016-06-30 21:37:03 +0200
committerKristian Lyngstol <kly@kly.no>2016-06-30 21:37:03 +0200
commitf3e530f42e350f17f42cf3f8f0f310f433effef9 (patch)
tree00b3b09c54e85b858766147c4f0bec5ddfef065f /web/js/nms-map-handlers.js
parentd0fb1a0574ad2cc28814ae2af6bda029866ea894 (diff)
front: Fix basic Safari-stuff and misc oplog-issues
.... Oplog: Don't send empty oplog entries. When viewing a switch, don't include oplog entries that have a blank system association.
Diffstat (limited to 'web/js/nms-map-handlers.js')
-rw-r--r--web/js/nms-map-handlers.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/js/nms-map-handlers.js b/web/js/nms-map-handlers.js
index 4cf2fea..b88b858 100644
--- a/web/js/nms-map-handlers.js
+++ b/web/js/nms-map-handlers.js
@@ -332,7 +332,7 @@ function tempInfo(sw)
ret.score = 0;
ret.data[0].value = "N/A";
if (testTree(nmsData,['switchstate','switches',sw,'temp'])) {
- let temp = nmsData.switchstate.switches[sw].temp;
+ var temp = nmsData.switchstate.switches[sw].temp;
if (temp == undefined) {
ret.data[0].value = "N/A";
} else {
@@ -400,7 +400,7 @@ function pingInfo(sw)
ret.score = 250;
ret.why = "No IPv6 ping reply";
} else if (v4 == undefined) {
- ret.score = 249;
+ ret.score = 800;
ret.why = "No IPv4 ping reply";
}