Changeset 27716 in vbox for trunk/src/VBox/Main
- Timestamp:
- Mar 25, 2010 4:20:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DHCPServerImpl.cpp
r27607 r27716 246 246 //temporary hack for testing 247 247 // DHCPCFG_NAME 248 char strMAC[ 13];248 char strMAC[32]; 249 249 Guid guid; 250 250 guid.create(); 251 RTStrPrintf (strMAC, sizeof(strMAC), "08 0027%02X%02X%02X",251 RTStrPrintf (strMAC, sizeof(strMAC), "08:00:27:%02X:%02X:%02X", 252 252 guid.ptr()->au8[0], guid.ptr()->au8[1], guid.ptr()->au8[2]); 253 253 m.dhcp.setOption(DHCPCFG_MACADDRESS, strMAC, true);
Note:
See TracChangeset
for help on using the changeset viewer.