ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 7480] When printing packet summary line, column headings d

Date: Mon, 30 Jul 2012 06:10:39 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7480

--- Comment #8 from Chris Maynard <christopher.maynard@xxxxxxxxx> 2012-07-30 06:10:39 PDT ---
(In reply to comment #6)
> (In reply to comment #4)
> > One example is if you add the ip.dsfield.ecn as a column.  For example,
> > printing the summary line from the icmp_rtp.raw capture file from the menagerie
> > on my printer looks similar to the following:
> > 
> > No.   Time     Explicit Congestion Notification Source      Destination       
> > ...
> >    1 0.000000   Not-ECT (Not ECN-Capable Transport) 10.1.6.18        10.1.3.143
> 
> That sounds as if, for custom columns using a field that has a value_string,
> we're not taking the lengths of the strings into account when determining the
> maximum column width.

I think that's part of the problem, but even printing without the ECN field as
a column, the other columns don't quite line up either.  Maybe that's because
of the font being used?  For example:

No.   Time     Source           Destination        Protocol Length Info
   1 0.000000   10.1.6.18        10.1.3.143         UDP      78   Source port:

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.