Have Vendor display as "N/A" if vendor not found in "MAC Address OUI Count by Vendor"
This commit is contained in:
parent
0e2d834b07
commit
877fbff2c1
|
@ -30,6 +30,7 @@ router.get('/', function (req, res, next) {
|
|||
}
|
||||
|
||||
if (stat_data[mac_oui].vendor !== "undefined") {
|
||||
stat_data[mac_oui].vendor = "N/A";
|
||||
if (typeof oui_data[mac_oui] !== "undefined") {
|
||||
stat_data[mac_oui].vendor = oui_data[mac_oui];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue