[Ns-developers] Requesting help for csma promiscuous mode

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Fri Jul 4 12:25:23 PDT 2008


On Fri, 2008-07-04 at 18:00 +0100, Gustavo Carneiro wrote:
> Never mind the help request.  Fixing this was simple (
> http://code.nsnam.org/gjc/ns-3-learning-bridge/rev/9a662068646f).

I already suggested your fix above to fix the issue alluded to in the
comment you show below but craig really did not like it at all: he felt
that was really completely weird to make the channel have this kind of
logic. So, if you really want this change in, you will have to be more
successful than me to convince craig :)

> > // We never forward up packets that we sent.  Real devices don't do this
> > since
> > // their receivers are disabled during send, so we don't.  Drop the packet
> > // silently (no tracing) since it would really never get here in a real
> > device.
> > //
> >   if (header.GetSource () == GetAddress ())
> >     {
> >       NS_LOG_LOGIC ("Ignoring packet sourced by this device");
> >       return;
> >     }

Mathieu



More information about the Ns-developers mailing list