Changeset 47129 in vbox for trunk/src/VBox
- Timestamp:
- Jul 13, 2013 11:44:12 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/DHCP/Config.cpp
r47128 r47129 513 513 client->rawOptions.push_back(opt); 514 514 515 /* XXX: here should be condition MUST NOT on DHCPINFORM */516 515 opt.u8OptId = RTNET_DHCP_OPT_LEASE_TIME; 517 516 *(uint32_t *)opt.au8RawOpt = RT_H2N_U32(ConfigurationManager::getConfigurationManager()->getLeaseTime()); … … 565 564 client->rawOptions.push_back(opt); 566 565 566 /* 567 * XXX: lease time should be conditional. If on dhcprequest then tim should be provided, 568 * else on dhcpinform it mustn't. 569 */ 567 570 opt.u8OptId = RTNET_DHCP_OPT_LEASE_TIME; 568 *(uint32_t *)opt.au8RawOpt = RT_H2N_U32(ConfigurationManager::getConfigurationManager()->getLeaseTime()); 571 *(uint32_t *)opt.au8RawOpt = 572 RT_H2N_U32(ConfigurationManager::getConfigurationManager()->getLeaseTime()); 569 573 opt.cbRawOpt = sizeof(RTNETADDRIPV4); 570 574 client->rawOptions.push_back(opt);
Note:
See TracChangeset
for help on using the changeset viewer.