Bug 43

Summary: Remove the const after the DoAddDevice function in the node.h file
Product: ns-3 Reporter: Emmanuelle Laprise <emmanuelle.laprise>
Component: networkAssignee: Emmanuelle Laprise <emmanuelle.laprise>
Status: RESOLVED FIXED    
Severity: major    
Priority: P3    
Version: pre-release   
Hardware: PC   
OS: All   
Attachments: This is a patch that removes the const from the DoAddDevice function in the Node class
Second version of patch to remove the const from the DoAddDevice function

Description Emmanuelle Laprise 2007-07-02 21:04:32 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.
Comment 1 Emmanuelle Laprise 2007-07-02 21:14:41 EDT
Created attachment 25 [details]
This is a patch that removes the const from the DoAddDevice function in the Node class
Comment 2 Mathieu Lacage 2007-07-03 01:43:12 EDT
If you also patch the InternetNode subclass to remove the const there, please, apply.
Comment 3 Emmanuelle Laprise 2007-07-03 23:46:13 EDT
Created attachment 26 [details]
Second version of patch to remove the const from the DoAddDevice function
Comment 4 Emmanuelle Laprise 2007-07-18 10:21:32 EDT
The patch has been pushed to ns-3-dev.
Closing.