[Ns-bugs] [Bug 152] New: Typo in csma-channel.cc causes stack overflow

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Wed Mar 26 06:06:54 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=152

           Summary: Typo in csma-channel.cc causes stack overflow
           Product: ns-3
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: devices
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: gvubrugier at gmail.com


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


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list