[ns] [bug] trace files for traffictrace.cc interpret #1A as Ctrl-Z End of File!
George Kinal
george.kinal@femmecomp.com
Thu Apr 25 11:50:02 2002
[Bug Report]
-----------------------------
Category: Other
Package: ns precompiled 2.1b8a exe
OS: Windows 98
Environment Variables:
LD_LIBRARY_PATH=
TCL_LIBRARY=
TK_LIBRARY=
-----------------------------
Description:
Description of Problem:
Many trace files are unusable in the Windows version (and others - to be checked),
whenever hex 1A appears in the file (for example, for a packet length of 794 bytes = 03 1A . The 1Ah is interpreted as an end-of file.
How Easily Reproducible:
(e.g. every time, intermittent, once only, etc.)
every time
Steps to Reproduce:
Here is a hex dump of a problematic trace file fragment with four packets. Packets 0 and 1 are output, 2 and 3 are not, since the third packet's length contains the 1Ah EOF byte: (if the byte is changed to another value, e.g. 1Bh, then all is OK)
00 00 40 80 00 00 03 89 00 00 3E 80 00 00 03 06 00 00 79 18 00 00 03 1A 00 00 78 00 00 00 03 91
GVK