diff --git a/package-lock.json b/package-lock.json index 28a7296..fd53f04 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ucentral-client", - "version": "2.6.8", + "version": "2.6.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ucentral-client", - "version": "2.6.8", + "version": "2.6.10", "dependencies": { "@coreui/coreui": "^3.4.0", "@coreui/icons": "^2.0.1", diff --git a/package.json b/package.json index 0cd52fc..9baf380 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ucentral-client", - "version": "2.6.8", + "version": "2.6.10", "dependencies": { "@coreui/coreui": "^3.4.0", "@coreui/icons": "^2.0.1", diff --git a/src/components/WifiAnalysis/index.js b/src/components/WifiAnalysis/index.js index 6bfc948..a9f33c8 100644 --- a/src/components/WifiAnalysis/index.js +++ b/src/components/WifiAnalysis/index.js @@ -147,7 +147,7 @@ const WifiAnalysis = () => { if ('associations' in ssid) { for (const association of ssid.associations) { - bssidObj[association.bssid] = 0; + bssidObj[association.station] = 0; const data = { radio: radioInfo, @@ -181,7 +181,7 @@ const WifiAnalysis = () => { for (let i = 0; i < newParsedAssociationStats.length; i += 1) { for (let y = 0; y < newParsedAssociationStats[i].length; y += 1) { newParsedAssociationStats[i][y].vendor = - vendors[newParsedAssociationStats[i][y].bssid] ?? '-'; + vendors[newParsedAssociationStats[i][y].station] ?? '-'; } }