VirtualBox

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


Ignore:
Timestamp:
Aug 20, 2013 2:55:47 PM (11 years ago)
Author:
vboxsync
Message:

NetworkServices/DHCP: fixed hintAddress check.

File:
1 edited

Legend:

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

    r47501 r47929  
    228228    {
    229229        hintAddress.u = *(uint32_t *)opt.au8RawOpt;
    230         if (   !RT_H2N_U32(hintAddress.u) < RT_H2N_U32(pNetCfg->lowerIp().u)
    231             || !RT_H2N_U32(hintAddress.u) > RT_H2N_U32(pNetCfg->upperIp().u))
     230        if (   RT_H2N_U32(hintAddress.u) < RT_H2N_U32(pNetCfg->lowerIp().u)
     231            || RT_H2N_U32(hintAddress.u) > RT_H2N_U32(pNetCfg->upperIp().u))
    232232            hintAddress.u = 0; /* clear hint */
    233233    }
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