Changeset 47127 in vbox for trunk/src/VBox/NetworkServices
- Timestamp:
- Jul 13, 2013 7:53:57 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/DHCP/Config.cpp
r47020 r47127 513 513 client->rawOptions.push_back(opt); 514 514 515 opt.u8OptId = RTNET_DHCP_OPT_SERVER_ID;516 ((PRTNETADDRIPV4)opt.au8RawOpt)->u = m_OurAddress.u;517 opt.cbRawOpt = sizeof(RTNETADDRIPV4);518 client->rawOptions.push_back(opt);519 520 515 opt.u8OptId = RTNET_DHCP_OPT_LEASE_TIME; 521 516 *(uint32_t *)opt.au8RawOpt = RT_H2N_U32(ConfigurationManager::getConfigurationManager()->getLeaseTime()); … … 567 562 opt.au8RawOpt[0] = RTNET_DHCP_MT_ACK; 568 563 opt.cbRawOpt = 1; 564 client->rawOptions.push_back(opt); 565 566 opt.u8OptId = RTNET_DHCP_OPT_LEASE_TIME; 567 *(uint32_t *)opt.au8RawOpt = RT_H2N_U32(ConfigurationManager::getConfigurationManager()->getLeaseTime()); 568 opt.cbRawOpt = sizeof(RTNETADDRIPV4); 569 569 client->rawOptions.push_back(opt); 570 570
Note:
See TracChangeset
for help on using the changeset viewer.