Bug 1871 - dsr m_dropTrace attribute unused and unneeded inside dsr-options
dsr m_dropTrace attribute unused and unneeded inside dsr-options
Status: NEW
Product: ns-3
Classification: Unclassified
Component: dsr
ns-3-dev
All All
: P5 enhancement
Assigned To: Yufei Cheng
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-06 13:57 EST by Tomasz Seweryn
Modified: 2014-03-06 13:57 EST (History)
1 user (show)

See Also:


Attachments
m_dropTrace attribute not needed inside dsr-options (3.68 KB, text/plain)
2014-03-06 13:57 EST, Tomasz Seweryn
Details

Note You need to log in before you can comment on or make changes to this bug.
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.