diff options
author | Kristian Lyngstol <kly@kly@.no> | 2016-03-22 13:04:23 +0100 |
---|---|---|
committer | Kristian Lyngstol <kly@kly@.no> | 2016-03-22 13:04:23 +0100 |
commit | ef480bf237b88e667ff525a1dfb881cb8bd7cf0a (patch) | |
tree | e33742414ae72d41d39e38a924f2b86bc6376754 /web/nms.gathering.org/js/nms-map-handlers.js | |
parent | 2d19233ba32fd23ad7182d3cccb58cec9e377a75 (diff) |
NMS: Ping increase delay, better search
Diffstat (limited to 'web/nms.gathering.org/js/nms-map-handlers.js')
-rw-r--r-- | web/nms.gathering.org/js/nms-map-handlers.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/nms.gathering.org/js/nms-map-handlers.js b/web/nms.gathering.org/js/nms-map-handlers.js index b1d31f0..d3becde 100644 --- a/web/nms.gathering.org/js/nms-map-handlers.js +++ b/web/nms.gathering.org/js/nms-map-handlers.js @@ -223,8 +223,8 @@ function tempUpdater() for (sw in nmsData.switches["switches"]) { var t = "white"; var temp = ""; - - if(!nmsData.snmp || !nmsData.snmp.snmp[sw]["misc"] || !nmsData.snmp.snmp[sw]["misc"]["enterprises.2636.3.1.13.1.7.7.1.0.0"]) + + if(!nmsData.snmp || !nmsData.snmp.snmp || ! nmsData.snmp.snmp[sw] || !nmsData.snmp.snmp[sw]["misc"] || !nmsData.snmp.snmp[sw]["misc"]["enterprises.2636.3.1.13.1.7.7.1.0.0"]) continue; tempObj = nmsData.snmp.snmp[sw]["misc"]["enterprises.2636.3.1.13.1.7.7.1.0.0"]; |