[Ns-bugs] [Bug 405] wifi log messages improvements

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Tue Nov 25 06:35:08 PST 2008


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





--- Comment #3 from Gustavo J. A. M. Carneiro <gjcarneiro at gmail.com>  2008-11-25 09:35:08 EDT ---
Mathieu, the MAC address is pretty useless to me.  If you are debugging the
entire stack you need an identifier that is stable across all layers of the
stack, and the only such identifier is the node ID.  If you do not have a
pointer to the NetDevice, you also don't have a pointer to the Node.

I don't understand why you "spent an inordinate amount of time making sure that
the MacLow class does not depend on a pointer back to the NetDevice class". 
Why was it worth the effort?

Somehow I knew this was going to happen sooner or later.  And to think that I
had a simple patch to store the "current node ID" in the Simulator class, which
would avoid this whole mess... :-(


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list