VirtualBox

Ignore:
Timestamp:
Aug 14, 2009 10:59:09 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
51068
Message:

VBoxNetDHCP: lease out even the upper IP address

File:
1 edited

Legend:

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

    r20864 r22254  
    653653        /* Expand the IP lease range. */
    654654        uint32_t const uEnd = RT_N2H_U32(pCfg->m_UpperAddr.u);
    655         for (uint32_t i = RT_N2H_U32(pCfg->m_LowerAddr.u); i < uEnd; i++)
     655        for (uint32_t i = RT_N2H_U32(pCfg->m_LowerAddr.u); i <= uEnd; i++)
    656656        {
    657657            RTNETADDRIPV4 IPv4Addr;
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