projects
/
ns-moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
877923e
)
Optimise ASCII trace.
author
Richard Whitehouse
<github@richardwhiuk.com>
Fri, 15 Apr 2011 22:25:06 +0000
(23:25 +0100)
committer
Richard Whitehouse
<github@richardwhiuk.com>
Fri, 15 Apr 2011 22:25:06 +0000
(23:25 +0100)
src/helper/csma-helper.cc
patch
|
blob
|
history
diff --git
a/src/helper/csma-helper.cc
b/src/helper/csma-helper.cc
index 821705d8a2879eeb224a1cb50f06568953a94790..5c37561f8abb0e17f588407077a4041056d6913e 100644
(file)
--- a/
src/helper/csma-helper.cc
+++ b/
src/helper/csma-helper.cc
@@
-195,7
+195,7
@@
CsmaHelper::EnableAsciiInternal (
uint32_t deviceid = nd->GetIfIndex ();
std::ostringstream oss;
- oss << "/NodeList/" << n
d->GetNode ()->GetId ()
<< "/DeviceList/" << deviceid << "/$ns3::CsmaNetDevice/MacRx";
+ oss << "/NodeList/" << n
odeid
<< "/DeviceList/" << deviceid << "/$ns3::CsmaNetDevice/MacRx";
Config::Connect (oss.str (), MakeBoundCallback (&AsciiTraceHelper::DefaultReceiveSinkWithContext, stream));
oss.str ("");