|
Bugzilla – Full Text Bug Listing |
| Summary: | Typo in csma-channel.cc causes stack overflow | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Guillaume Vu-Brugier <gvubrugier> |
| Component: | devices | Assignee: | ns-bugs <ns-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | bugfix | ||
Created attachment 118 [details]
bugfix
Thanks for the patch. Pushed in ns-3-dev : 2747:4796695f60fb |
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