VirtualBox

Ignore:
Timestamp:
May 20, 2020 6:27:41 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138086
Message:

Fix more windows compiler warnings

File:
1 edited

Legend:

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

    r84389 r84390  
    18631863
    18641864    if (pThisCC->pDrv && fPromiscChanged)
    1865         pThisCC->pDrv->pfnSetPromiscuousMode(pThisCC->pDrv, pThis->fPromiscuous | pThis->fAllMulticast);
     1865        if (pThis->fPromiscuous | pThis->fAllMulticast)
     1866            pThisCC->pDrv->pfnSetPromiscuousMode(pThisCC->pDrv, true);
     1867        else
     1868            pThisCC->pDrv->pfnSetPromiscuousMode(pThisCC->pDrv, false);
    18661869
    18671870    return VIRTIONET_OK;
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