Wireshark-bugs: [Wireshark-bugs] [Bug 2563] New: tshark: When you use fields output format with

Date: Fri, 23 May 2008 08:55:30 -0700 (PDT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2563

           Summary: tshark: When you use fields output format with -e data
                    option the data lastbyte is trunked.
           Product: Wireshark
           Version: 1.0.0
          Platform: Other
               URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482545
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: TShark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: joost+wireshark@xxxxxxxx


Build Information:
Debian
i386
Version: 1.0.0-3
--
This one is quite easy to reproduce.

If there is anything unclear don't hesitate to contact me.

Below you find a copy of the original bugreport reported in Debian:

$ tshark -r file.cap -T fields -e data
342e3

$ tshark -r file.cap -T fields -e data.data
34:2e:31

Last byte is trunked in first command output, it is "3" but must be "31".


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tshark depends on:
ii  libadns1               1.4-0.1           Asynchronous-capable DNS
client li
ii  libc6                  2.7-10            GNU C Library: Shared
libraries
ii  libcomerr2             1.40.8-2          common error description
library
ii  libgcrypt11            1.4.1-1           LGPL Crypto library - runtime
libr
ii  libglib2.0-0           2.16.3-2          The GLib library of C routines
ii  libgnutls26            2.2.5-1           the GNU TLS library - runtime
libr
ii  libkrb53               1.6.dfsg.3-2      MIT Kerberos runtime libraries
ii  libpcap0.8             0.9.8-3           system interface for
user-level pa
ii  libpcre3               7.4-1+lenny1      Perl 5 Compatible Regular
Expressi
ii  wireshark-common       1.0.0-3           network traffic analyser
(common f
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

tshark recommends no packages.

-- no debconf information


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.