[Ns-bugs] [Bug 274] point to point device cannot ignore from and to addresses
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Mon Aug 25 15:49:42 PDT 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=274
------- Comment #7 from mathieu.lacage at sophia.inria.fr 2008-08-25 18:49 -------
(In reply to comment #6)
> (In reply to comment #5)
> > Another important item which occured to me while working on that for wifi is
> > that we probably also need:
> >
> > class NetDevice {
> > virtual bool SupportsBridging (void) const = 0;
> > };
> >
> >
> > i.e., adhoc and STA wifi devices cannot support bridging while AP wifi devices
> > can support it.
>
> You could just add a NS_FATAL_ERROR("SendFrom can only be used in AP devices,
> not STAs.") to SendFrom in the Sta netdevice.
That would make it harder to go back to which part of the simulation script
topology setup is wrong.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Ns-bugs
mailing list