VirtualBox

Changeset 38484 in vbox


Ignore:
Timestamp:
Aug 17, 2011 11:08:11 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
73543
Message:

vboxnetflt: guest to host packet capture fix (#5817)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin/VBoxNetFlt-darwin.cpp

    r38408 r38484  
    997997         * Create a mbuf for the gather list and push it onto the wire.
    998998         */
    999         if (fDst & INTNETTRUNKDIR_WIRE)
     999        /*
     1000         * If the interface is in the promiscuous mode we need to send
     1001         * the packet down the stack so it reaches the driver and Berkeley
     1002         * Packet Filter (see #5817).
     1003         */
     1004        if ((fDst & INTNETTRUNKDIR_WIRE) || vboxNetFltDarwinIsPromiscuous(pThis))
    10001005        {
    10011006            mbuf_t pMBuf = vboxNetFltDarwinMBufFromSG(pThis, pSG);
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