Bugzilla – Bug 152
Typo in csma-channel.cc causes stack overflow
Last modified: 2008-07-01 13:32:25 UTC
Already fixed for point-to-point-channel. -- diff -r 177a8a3f3c65 src/devices/csma/csma-channel.cc --- a/src/devices/csma/csma-channel.cc Tue Mar 25 17:14:33 2008 -0700 +++ b/src/devices/csma/csma-channel.cc Wed Mar 26 15:04:22 2008 +0100 @@ -358,7 +358,7 @@ Ptr<NetDevice> Ptr<NetDevice> CsmaChannel::GetDevice (uint32_t i) const { - return GetDevice (i); + return GetCsmaDevice (i); } } // namespace ns3
Created attachment 118 [details] bugfix
Thanks for the patch. Pushed in ns-3-dev : 2747:4796695f60fb