VirtualBox

Changeset 47128 in vbox for trunk/src/VBox/NetworkServices


Ignore:
Timestamp:
Jul 13, 2013 8:02:38 AM (11 years ago)
Author:
vboxsync
Message:

note about missed condition for dhcp-opt-lease-time on DHCPACK.
rfc2131 declares MUST on DHCPREQUEST and MUST NOT on DHCPINFORM.
currently it's always sent (that should heal NetBSD and Debian VMs.)

When support of DHCPINFORM will be introduced I should return to DHCPACK generation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/DHCP/Config.cpp

    r47127 r47128  
    513513    client->rawOptions.push_back(opt);
    514514
     515    /* XXX: here should be condition MUST NOT on DHCPINFORM */
    515516    opt.u8OptId = RTNET_DHCP_OPT_LEASE_TIME;
    516517    *(uint32_t *)opt.au8RawOpt = RT_H2N_U32(ConfigurationManager::getConfigurationManager()->getLeaseTime());
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette