Wireshark-bugs: [Wireshark-bugs] [Bug 1890] New: When displaying int using BASE_DEC_HEX type, BA
Date: Tue, 2 Oct 2007 16:19:54 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1890

           Summary: When displaying int using BASE_DEC_HEX type, BASE_OCT is
                    displayed instead.
           Product: Wireshark
           Version: SVN
          Platform: PC
               URL: http://anonsvn.wireshark.org/wireshark/trunk/epan/proto.
                    c
        OS/Version: Linux
            Status: NEW
          Severity: Trivial
          Priority: Low
         Component: TShark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: richard.nichols@xxxxxxx


Build Information:
Copyright 1998-2007 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GLib 2.10.3, with libpcap 0.9.4, with libz 1.2.3, with libpcre
6.3, with Net-SNMP 5.3, without ADNS, without Lua, with GnuTLS 1.2.10, with
Gcrypt 1.2.2, with MIT Kerberos.

Running on Linux 2.6.17-1.2157_FC5, with libpcap version 0.9.4.

Built using gcc 4.1.1 20070105 (Red Hat 4.1.1-51).
--
When displaying an int value using BASE_DEC_HEX the value is displayed as
BASE_OCT instead.

In "case BASE_DEC_HEX:" in function hfinfo_int_format(...) in epan/proto.c this
case is missing a final "break;" before the "case BASE_OCT:" statement.


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