VirtualBox

Ignore:
Timestamp:
Mar 17, 2009 2:13:44 PM (16 years ago)
Author:
vboxsync
Message:

DHCP: DHCPRequest could be send it any time and it's right of client recalculate xid (basing on timestamp) RFC1541

File:
1 edited

Legend:

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

    r18026 r18027  
    11601160        if (pLease->isBeingOffered())
    11611161        {
     1162            fAckIt = true;
    11621163            if (pLease->m_xid == pDhcpMsg->bp_xid)
    1163             {
    1164                 fAckIt = true;
    11651164                debugPrint(2, true, "REQUEST for offered lease.");
    1166                 pLease->activate();
    1167             }
    11681165            else
    11691166                debugPrint(2, true, "REQUEST for offered lease, xid mismatch. Expected %#x, got %#x.",
    11701167                           pLease->m_xid, pDhcpMsg->bp_xid);
     1168            pLease->m_xid = pDhcpMsg->bp_xid; /* update xid */
     1169            pLease->activate();
    11711170        }
    11721171        else if (!pLease->isInCurrentConfig())
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