Ethereal-dev: [Ethereal-dev] FTP-Data length confusion

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Dr. Uwe Girlich" <Uwe.Girlich@xxxxxxxxxxx>
Date: Wed, 3 Apr 2002 15:51:58 +0200
Hello!

One of my colleagues just pointed me to a small FTP-Data dissection problem:
In dissect_ftpdata() we have the code line

  col_add_fstr(pinfo->cinfo, COL_INFO, "FTP Data: %u bytes", tvb_length(tvb));

So we print in the packet summary line, how many of the bytes we captured
(which may be much lower than the actual packet length) are left for FTP-Data
and don't mention truncation at all! I think here should stay something like
the length in this TCP segment.

Bye, Uwe