VirtualBox

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


Ignore:
Timestamp:
Dec 1, 2011 3:20:24 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
75139
Message:

NAT:dhcp: return value of dhcp_find_option xTracker/5989.

File:
1 edited

Legend:

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

    r39409 r39483  
    696696        case DHCPDECLINE:
    697697            p = dhcp_find_option(&bp->bp_vend[0], RFC2132_REQ_ADDR);
     698            if (!p)
     699            {
     700                Log(("NAT: RFC2132_REQ_ADDR not found\n"));
     701                break;
     702            }
    698703            req_ip.s_addr = *(uint32_t *)(p + 2);
    699704            rc = bootp_cache_lookup_ether_by_ip(pData, req_ip.s_addr, NULL);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette