diff options
author | Nicolai Tellefsen <niccofyren@gmail.com> | 2016-03-01 21:25:25 +0000 |
---|---|---|
committer | Nicolai Tellefsen <niccofyren@gmail.com> | 2016-03-01 21:25:25 +0000 |
commit | 4b7b0605dd15557df076a904a72e6bca7b5ebefa (patch) | |
tree | c355b74493b864708822a2b5c92f67b38455d712 | |
parent | b0c8a0667513b671be76679188fa7a26caac4893 (diff) |
Add management support to updateSwitches()
-rw-r--r-- | web/nms.gathering.org/js/nms.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/nms.gathering.org/js/nms.js b/web/nms.gathering.org/js/nms.js index 8669598..d3c9681 100644 --- a/web/nms.gathering.org/js/nms.js +++ b/web/nms.gathering.org/js/nms.js @@ -676,6 +676,8 @@ function updateSwitches(switchdata,target) { if(switchdata.switches != undefined) { for(var sw in switchdata.switches) { + if(switchdata.switches[sw]['management'] != undefined) + updateSwitchProperty(sw,'management',switchdata.switches[sw]['management'],target); if(switchdata.switches[sw]['ports'] != undefined) updateSwitchProperty(sw,'ports',switchdata.switches[sw]['ports'],target); if(switchdata.switches[sw]['temp'] != undefined) |