VirtualBox

Changeset 90797 in vbox


Ignore:
Timestamp:
Aug 23, 2021 3:25:07 PM (3 years ago)
Author:
vboxsync
Message:

Fix copy/pasted assert

File:
1 edited

Legend:

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

    r90775 r90797  
    11231123
    11241124        pHlp->pfnSSMGetU32(     pSSM, &pThis->cUnicastFilterMacs);
    1125         AssertReturn(pThis->cWorkers <= VIRTIONET_MAC_FILTER_LEN, VERR_OUT_OF_RANGE);
     1125        AssertReturn(pThis->cUnicastFilterMacs <= VIRTIONET_MAC_FILTER_LEN, VERR_OUT_OF_RANGE);
    11261126        pHlp->pfnSSMGetMem(     pSSM, pThis->aMacUnicastFilter, pThis->cUnicastFilterMacs * sizeof(RTMAC));
    11271127
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