diff options
author | Kristian Lyngstol <kly@kly.no> | 2016-07-01 16:38:36 +0200 |
---|---|---|
committer | Kristian Lyngstol <kly@kly.no> | 2016-07-01 16:38:36 +0200 |
commit | 18be7f053b6a7a8cd19a7340466b68f579eb33cd (patch) | |
tree | 5b340a37751ea9c9da799ba124cd0a9a4f4e8344 /web/js/nms-search.js | |
parent | f3e530f42e350f17f42cf3f8f0f310f433effef9 (diff) |
Implement tags and various other minor tweaks
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 a292814..1167b51 100644 --- a/web/js/nms-search.js +++ b/web/js/nms-search.js @@ -91,7 +91,7 @@ nmsSearch.searchTest = function(id, sw) { if (nmsData.snmp.snmp[sw].misc.entPhysicalSerialNum[x] == "") { continue; } - if (re.test(nmsData.snmp.snmp[sw].misc.entPhysicalSerialNum[x])) { + if (re.test("serial:" + nmsData.snmp.snmp[sw].misc.entPhysicalSerialNum[x])) { return true; } } |