Bugzilla – Bug 43
Remove the const after the DoAddDevice function in the node.h file
Last modified: 2008-07-01 13:32:15 EDT
This patch removes the const after the DoAddDevice function because it is used to add a callback on the packet receive function. But, in some cases (ie ethernet learning), it is going to be needed to have a non-const function that is called on packet reception.
Created attachment 25 [details] This is a patch that removes the const from the DoAddDevice function in the Node class
If you also patch the InternetNode subclass to remove the const there, please, apply.
Created attachment 26 [details] Second version of patch to remove the const from the DoAddDevice function
The patch has been pushed to ns-3-dev. Closing.