Bug 2347

Summary: Ascii traces are hooked to the wrong traces
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: lr-wpanAssignee: Tom Henderson <tomh>
Status: RESOLVED FIXED    
Severity: minor CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: patch

Description Tommaso Pecorella 2016-03-24 15:50:40 UTC
Probably it's a refuso from an old version, but the ascii traces are hooked to non-existent traces, e.g.:

  asciiTraceHelper.HookDefaultEnqueueSinkWithoutContext<LrWpanNetDevice> (device, "MacTxEnqueue", theStream);

instead of

  asciiTraceHelper.HookDefaultEnqueueSinkWithoutContext<LrWpanMac> (device->GetMac (), "MacTxEnqueue", theStream);
Comment 1 Tommaso Pecorella 2016-03-24 15:52:14 UTC
Created attachment 2351 [details]
patch
Comment 2 Tom Henderson 2016-03-31 16:23:15 UTC
+1 to merge
Comment 3 Tommaso Pecorella 2016-03-31 17:32:54 UTC
changeset:   12072:c0943e24cccc