Bug 1871

Summary: dsr m_dropTrace attribute unused and unneeded inside dsr-options
Product: ns-3 Reporter: Tomasz Seweryn <tomasz.seweryn7>
Component: dsrAssignee: Yufei Cheng <michaelcheng1943>
Status: NEW ---    
Severity: enhancement CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: m_dropTrace attribute not needed inside dsr-options

Description Tomasz Seweryn 2014-03-06 13:57:34 EST
Created attachment 1793 [details]
m_dropTrace attribute not needed inside dsr-options

In dsr-options file in dsr module there is an attribute m_dropTrace defined and called many times, although "AddTraceSource" was not defined for it. Moreover, a corresponding attribute with same name is used inside dsr-routing, which is the best place to use it. Removing m_dropTrace from dsr-options would make the code clearer.