diff options
author | Kristian Lyngstol <kly@kly.no> | 2016-06-30 21:37:03 +0200 |
---|---|---|
committer | Kristian Lyngstol <kly@kly.no> | 2016-06-30 21:37:03 +0200 |
commit | f3e530f42e350f17f42cf3f8f0f310f433effef9 (patch) | |
tree | 00b3b09c54e85b858766147c4f0bec5ddfef065f /web/js/nms-search.js | |
parent | d0fb1a0574ad2cc28814ae2af6bda029866ea894 (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-search.js')
-rw-r--r-- | web/js/nms-search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/nms-search.js b/web/js/nms-search.js index fb8e725..a292814 100644 --- a/web/js/nms-search.js +++ b/web/js/nms-search.js @@ -46,7 +46,7 @@ nmsSearch.searchTest = function(id, sw) { limit = limit.replace("active=",""); var operator = id.replace("active","")[0]; if (limit == parseInt(limit)) { - var ports = parseInt(nmsData.switchstate.switches[sw].ifs.ge.live); + var ports = parseInt(nmsData.switchstate.switches[sw].totals.live); limit = parseInt(limit); if (operator == ">" ) { if (ports > limit) { |