[Ns-bugs] [Bug 162] New: Calling Object::AggregateObject twice with the same Object type silently succeeds

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Tue Apr 8 02:47:55 PDT 2008


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

           Summary: Calling Object::AggregateObject twice with the same
                    Object type silently succeeds
           Product: ns-3
           Version: pre-release
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P3
         Component: simulation core
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: gjcarneiro at gmail.com


Discovered while accidentally adding internet stack twice to the same object. 
The second time it overwrote the first Ipv4 impl and consequently "covered" it,
so that the netdevices contained apparently disappeared.

There should be a NS_FATAL_WARNING() when aggregating an object whose type is
already represented in the aggregate object.


-- 
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