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>
|
||||
|
||||
* modules/pandora_module_inventory.cc: Fixed XML generation for
|
||||
|
|
|
@ -988,14 +988,14 @@ Pandora_Wmi::getNICsInfo (list<string> &rows) {
|
|||
ret += caption;
|
||||
}
|
||||
dhFreeString(caption);
|
||||
ret += inventory_field_separator + " MAC: ";
|
||||
ret += inventory_field_separator;
|
||||
dhGetValue (L"%s", &mac_address, nic_info_item,
|
||||
L".MACAddress");
|
||||
if (mac_address != NULL) {
|
||||
ret += mac_address;
|
||||
}
|
||||
dhFreeString (mac_address);
|
||||
ret += inventory_field_separator + " IP: ";
|
||||
ret += inventory_field_separator;
|
||||
dhGetValue (L"%v", &ip_addresses, nic_info_item,
|
||||
L".IPAddress");
|
||||
if (&ip_addresses != NULL)
|
||||
|
|
Loading…
Reference in New Issue