Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6916] New: correct sorting for wiretap's file type list

Date: Tue, 6 Mar 2012 15:23:17 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6916

           Summary: correct sorting for wiretap's file type list
           Product: Wireshark
           Version: SVN
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: wireshark@xxxxxxxxx


Created attachment 7964
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7964
clean up list of file types

Build Information:
TShark 1.7.1 (SVN Rev 41386 from /trunk)

Copyright 1998-2012 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 (64-bit) with GLib 2.24.2, with libpcap, with libz 1.2.3.4, without
POSIX capabilities, without SMI, without c-ares, without ADNS, without Lua,
without Python, with GnuTLS 2.8.6, with Gcrypt 1.4.5, with MIT Kerberos,
without
GeoIP.

Running on Linux 2.6.32-5-amd64, with locale en_US.UTF-8, with libpcap version
1.1.1, with libz 1.2.3.4.

Built using gcc 4.4.5.

--
Dear all,

in the File / Open window, my mpeg2 ts files (*.ts) are displayed as Format
Aethra .aps file. That's because dump_open_table_base[] is not sorted by
WTAP_FILE_... value and wtap_file_type_string() ends up reading the wrong
entry.

The attached patch moves mpeg2ts to the end of dump_open_table_base[] and does
other minor cleanup.

Best regards,

   Martin

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