aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolai Tellefsen <niccofyren@gmail.com>2016-03-01 21:25:25 +0000
committerNicolai Tellefsen <niccofyren@gmail.com>2016-03-01 21:25:25 +0000
commit4b7b0605dd15557df076a904a72e6bca7b5ebefa (patch)
treec355b74493b864708822a2b5c92f67b38455d712
parentb0c8a0667513b671be76679188fa7a26caac4893 (diff)
Add management support to updateSwitches()
-rw-r--r--web/nms.gathering.org/js/nms.js2
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)