VirtualBox

Ignore:
Timestamp:
Aug 15, 2009 9:27:24 PM (15 years ago)
Author:
vboxsync
Message:

VBoxNetDHCP.cpp: uEnd (excludsive) -> uLast (inclusive).

File:
1 edited

Legend:

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

    r22254 r22275  
    652652
    653653        /* Expand the IP lease range. */
    654         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++)
     654        uint32_t const uLast = RT_N2H_U32(pCfg->m_UpperAddr.u);
     655        for (uint32_t i = RT_N2H_U32(pCfg->m_LowerAddr.u); i <= uLast; 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