VirtualBox

Changeset 57550 in vbox


Ignore:
Timestamp:
Aug 26, 2015 2:19:11 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102362
Message:

NAT: improved error message

File:
1 edited

Legend:

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

    r56992 r57550  
    305305    PNATState pData;
    306306    if (u32Netmask & 0x1f)
     307    {
    307308        /* CTL is x.x.x.15, bootp passes up to 16 IPs (15..31) */
     309        LogRel(("The last 5 bits of the netmask (%RTnaipv4) need to be unset\n", RT_BE2H_U32(u32Netmask)));
    308310        return VERR_INVALID_PARAMETER;
     311    }
    309312    pData = RTMemAllocZ(RT_ALIGN_Z(sizeof(NATState), sizeof(uint64_t)));
    310313    *ppData = pData;
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