VirtualBox

Changeset 106167 in vbox for trunk/src


Ignore:
Timestamp:
Sep 27, 2024 1:52:10 PM (2 months ago)
Author:
vboxsync
Message:

DrvNAT,DrvNATlibslirp: PDMINETWORKUP::pfnAllocBuf should return VERR_NET_DOWN instead of VERR_NET_NO_NETWORK (since r57756).

Location:
trunk/src/VBox/Devices/Network
Files:
2 edited

Legend:

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

    r106061 r106167  
    513513    if (pThis->pSlirpThread->enmState != PDMTHREADSTATE_RUNNING)
    514514    {
    515         Log(("drvNATNetowrkUp_AllocBuf: returns VERR_NET_NO_NETWORK\n"));
    516         return VERR_NET_NO_NETWORK;
     515        Log(("drvNATNetowrkUp_AllocBuf: returns VERR_NET_DOWN\n"));
     516        return VERR_NET_DOWN;
    517517    }
    518518
  • trunk/src/VBox/Devices/Network/DrvNATlibslirp.cpp

    r106150 r106167  
    466466    if (pThis->pSlirpThread->enmState != PDMTHREADSTATE_RUNNING)
    467467    {
    468         Log(("drvNATNetowrkUp_AllocBuf: returns VERR_NET_NO_NETWORK\n"));
    469         return VERR_NET_NO_NETWORK;
     468        Log(("drvNATNetowrkUp_AllocBuf: returns VERR_NET_DOWN\n"));
     469        return VERR_NET_DOWN;
    470470    }
    471471
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