[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:39:27 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=274





------- Comment #6 from gjcarneiro at gmail.com  2008-08-25 18:39 -------
(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.


-- 
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