[Ns-bugs] [Bug 833] OnOffApplication with PacketSocket: sniffs all traffic

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Fri Mar 5 06:52:46 PST 2010


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





--- Comment #1 from Gustavo J. A. M. Carneiro <gjcarneiro at gmail.com>  2010-03-05 09:52:46 EDT ---
Created an attachment (id=779)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=779)
patch

This patch gets around the problem without needing any refactoring.  It just
checks if the receive callback is null before queuing the packet in the rx
queue.  It's not perfect, but...

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