VirtualBox

Changeset 22027 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Aug 6, 2009 11:44:35 AM (15 years ago)
Author:
vboxsync
Message:

NAT Dhcp: send NACK if requested IP is not same as the IP going to be leased out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/bootp.c

    r22024 r22027  
    260260        *q++ = RFC2132_MSG_TYPE;
    261261        *q++ = 1;
    262         if (   requested_ip.s_addr == 0xffffffff
    263             && requested_ip.s_addr != daddr.sin_addr.s_addr)
     262        if (requested_ip.s_addr != daddr.sin_addr.s_addr)
    264263        {
    265264            /* network changed */
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