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

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Fri Apr 17 02:58:46 PDT 2009


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





--- Comment #9 from Damian Lezama <damian.lezama at hotmail.com>  2009-04-17 05:58:46 EDT ---
I've just attached 2 files. One is a modified myfirst.cc that creates pcap
traces and logs PcapWriter events. The other is a modified udp-echo-client that
creates a raw socket.

Use both together and you will see that 2 PcapWriter objects are created but
only 1 is destroyed. Don't ask me why but if you use the original
udp-echo-client the bug doesn't show.

Pcap files are ok in this case, but as the bug shows anyway with the lack of a
destructor call I think it's enough as I already traced the problem from empty
pcap files to lack of destructor call.


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