[Ns-bugs] [Bug 546] Empty pcap traces

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Fri Apr 17 09:44:29 PDT 2009


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





--- Comment #12 from Craig Dowell <craigdo at ee.washington.edu>  2009-04-17 12:44:29 EDT ---
I think the answer in Ipv4L3Protocol is to add the following lines to
DoDispose:

  for (SocketList::iterator i = m_sockets.begin (); i != m_sockets.end (); ++i)
    {
      *i = 0;
    }

Raw sockets are forgotten in the tear down ...


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


More information about the Ns-bugs mailing list