From e1685c7b77f22e3659daa0c3dc06bdc2a74ac76b Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Mon, 4 Oct 2010 17:24:10 +0000 Subject: [PATCH] 2010-10-04 Ramon Novoa * 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 --- pandora_agents/win32/ChangeLog | 4 ++++ pandora_agents/win32/windows/pandora_wmi.cc | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pandora_agents/win32/ChangeLog b/pandora_agents/win32/ChangeLog index df2435f8d3..7da0b07c6f 100644 --- a/pandora_agents/win32/ChangeLog +++ b/pandora_agents/win32/ChangeLog @@ -1,3 +1,7 @@ +2010-10-04 Ramon Novoa + + * windows/pandora_wmi.cc: Fixed inventory NIC information. + 2010-10-04 Ramon Novoa * modules/pandora_module_inventory.cc: Fixed XML generation for diff --git a/pandora_agents/win32/windows/pandora_wmi.cc b/pandora_agents/win32/windows/pandora_wmi.cc index 804d823d23..9bc81af00e 100644 --- a/pandora_agents/win32/windows/pandora_wmi.cc +++ b/pandora_agents/win32/windows/pandora_wmi.cc @@ -988,14 +988,14 @@ Pandora_Wmi::getNICsInfo (list &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)