mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
2010-10-04 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Fixed inventory NIC information. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3339 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
f3b062d6ed
commit
e1685c7b77
@ -1,3 +1,7 @@
|
|||||||
|
2010-10-04 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
|
* windows/pandora_wmi.cc: Fixed inventory NIC information.
|
||||||
|
|
||||||
2010-10-04 Ramon Novoa <rnovoa@artica.es>
|
2010-10-04 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* modules/pandora_module_inventory.cc: Fixed XML generation for
|
* modules/pandora_module_inventory.cc: Fixed XML generation for
|
||||||
|
@ -988,14 +988,14 @@ Pandora_Wmi::getNICsInfo (list<string> &rows) {
|
|||||||
ret += caption;
|
ret += caption;
|
||||||
}
|
}
|
||||||
dhFreeString(caption);
|
dhFreeString(caption);
|
||||||
ret += inventory_field_separator + " MAC: ";
|
ret += inventory_field_separator;
|
||||||
dhGetValue (L"%s", &mac_address, nic_info_item,
|
dhGetValue (L"%s", &mac_address, nic_info_item,
|
||||||
L".MACAddress");
|
L".MACAddress");
|
||||||
if (mac_address != NULL) {
|
if (mac_address != NULL) {
|
||||||
ret += mac_address;
|
ret += mac_address;
|
||||||
}
|
}
|
||||||
dhFreeString (mac_address);
|
dhFreeString (mac_address);
|
||||||
ret += inventory_field_separator + " IP: ";
|
ret += inventory_field_separator;
|
||||||
dhGetValue (L"%v", &ip_addresses, nic_info_item,
|
dhGetValue (L"%v", &ip_addresses, nic_info_item,
|
||||||
L".IPAddress");
|
L".IPAddress");
|
||||||
if (&ip_addresses != NULL)
|
if (&ip_addresses != NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user