VirtualBox

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


Ignore:
Timestamp:
Jun 9, 2008 7:46:48 AM (17 years ago)
Author:
vboxsync
Message:

fixed default guest IP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvNAT.cpp

    r9472 r9523  
    347347        if (rc == VERR_CFGM_VALUE_NOT_FOUND)
    348348            RTStrPrintf(szGuestIP, sizeof(szGuestIP), "%d.%d.%d.%d",
    349                         (Network & 0xFF000000) >> 24, (Network & 0xFF0000) >> 16, (Network & 0xFF00), (Network & 0xE0) | 15);
     349                        (Network & 0xFF000000) >> 24, (Network & 0xFF0000) >> 16, (Network & 0xFF00) >> 8, (Network & 0xE0) | 15);
    350350        else if (VBOX_FAILURE(rc))
    351351            return PDMDrvHlpVMSetError(pData->pDrvIns, rc, RT_SRC_POS, N_("NAT#%d: configuration query for \"GuestIP\" string failed"), iInstance);
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