VirtualBox

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


Ignore:
Timestamp:
Jun 25, 2007 2:07:52 PM (17 years ago)
Author:
vboxsync
Message:

Internal Network: Don't echo outgoing packets to the sender in promiscuous mode

File:
1 edited

Legend:

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

    r2981 r3274  
    573573            if (    (   !pIf->fMacSet
    574574                     || !memcmp(&pIf->Mac, &pEthHdr->MacDst, sizeof(pIf->Mac)))
    575                 ||  pIf->fPromiscuous)
     575                ||  (   pIf->fPromiscuous
     576                     && pIf != pIfSender /* promiscuous mode: omit the sender */))
    576577                intnetIfSend(pIf, pvFrame, cbFrame);
    577578        }
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