VirtualBox

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


Ignore:
Timestamp:
Sep 10, 2007 2:33:54 AM (17 years ago)
Author:
vboxsync
Message:

A couple of fixes.

File:
1 edited

Legend:

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

    r4642 r4643  
    239239    if (pThread->enmState == PDMTHREADSTATE_INITIALIZING)
    240240        return VINF_SUCCESS;
    241     Assert(pThread->enmState == PDMTHREADSTATE_RESUMING);
     241    Assert(pThread->enmState == PDMTHREADSTATE_RUNNING);
    242242
    243243    /*
     
    466466     * Validate the config.
    467467     */
    468     if (!CFGMR3AreValuesValid(pCfgHandle, "Device\0LanNumber\0ConnectTo\0"))
     468    if (!CFGMR3AreValuesValid(pCfgHandle, "Device\0ConnectTo\0"))
    469469        return PDMDRV_SET_ERROR(pDrvIns, VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES, "");
    470470
     
    536536    {
    537537        if (iConnectTo == pThis->iLan)
    538             return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS,
     538            return PDMDrvHlpVMSetError(pDrvIns, VERR_INVALID_PARAMETER, RT_SRC_POS,
    539539                                       N_("Cannot connect to ourself (%d)"), iConnectTo);
    540540
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