From 4b7b0605dd15557df076a904a72e6bca7b5ebefa Mon Sep 17 00:00:00 2001 From: Nicolai Tellefsen Date: Tue, 1 Mar 2016 21:25:25 +0000 Subject: Add management support to updateSwitches() --- web/nms.gathering.org/js/nms.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web/nms.gathering.org/js/nms.js') 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) -- cgit v1.2.3