Changeset 29398 in vbox
- Timestamp:
- May 12, 2010 9:45:06 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
r29391 r29398 471 471 char szMac[32]; 472 472 #if defined(RT_OS_SOLARIS) 473 char *pu8Mac =&ifrequest[i].ifr_enaddr[0];473 uint8_t *pu8Mac = (uint8_t*)&ifrequest[i].ifr_enaddr[0]; 474 474 #else 475 char *pu8Mac =&ifrequest[i].ifr_hwaddr.sa_data[0];475 uint8_t *pu8Mac = (uint8_t*)&ifrequest[i].ifr_hwaddr.sa_data[0]; 476 476 #endif 477 RTStrPrintf(szMac, sizeof(szMac), "%02 x:%02x:%02x:%02x:%02x:%02x",477 RTStrPrintf(szMac, sizeof(szMac), "%02X%02X%02X%02X%02X%02X", 478 478 pu8Mac[0], pu8Mac[1], pu8Mac[2], pu8Mac[3], pu8Mac[4], pu8Mac[5]); 479 479 RTStrPrintf(szPropPath, sizeof(szPropPath), "/VirtualBox/GuestInfo/Net/%d/MAC", cIfacesReport);
Note:
See TracChangeset
for help on using the changeset viewer.

