[Ns-bugs] [Bug 572] Tag offsets not updated in Packet::PeekData ()

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Mon Jun 1 03:54:23 PDT 2009


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





--- Comment #2 from Tommaso Pecorella <tommaso.pecorella at unifi.it>  2009-06-01 06:54:23 EDT ---
Good one, however the problem still remains somewhere.

I had my hard time to build a test case, and your suggested change completely
fix it, however:

1) in my test case no PCAP was called (not a biggie, as something else calls
the PeekData) and, most important

2) I have a larger simulation that still shows the wrong behaviour.

Point is, the larger simulation is totally unsuitable as a test case.

Anyway, I've seen that the tag (a time tag in my case) disappear between some
header and trailer removals. Ofc it's not a consistent behaviour, 90% of the
times all goes fine, 10% of the packets have corrupted tags. The kind of bugs I
love.

I'll go search for something similar to the problem you spotted in those
functions, but I'd not consider this bug as fixed yet.


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