Wireshark-bugs: [Wireshark-bugs] [Bug 4613] New: The encapsulation abbreviation "bluetooth-h4" i
Date: Wed, 24 Mar 2010 19:31:16 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4613

           Summary: The encapsulation abbreviation "bluetooth-h4" is
                    ambiguous
           Product: Wireshark
           Version: 1.2.6
          Platform: x86
        OS/Version: Windows Vista
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: TShark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: robert@xxxxxxxxxxxxxx


Created an attachment (id=4447)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4447)
A patch fixing the bug by unambiguating the second encapsulation abbreviation.

Build Information:
Version 1.2.6 (SVN Rev 31702)

Copyright 1998-2010 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 GTK+ 2.18.5, with GLib 2.22.3, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, without libpcre, with SMI 0.4.8,
with c-ares 1.7.0, with Lua 5.1, with GnuTLS 2.8.5, with Gcrypt 1.4.5, with MIT
Kerberos, with GeoIP, with PortAudio V19-devel (built Jan 27 2010), with
AirPcap.

Running on 32-bit Windows Vista Service Pack 2, build 6002, with WinPcap
version
4.1.1 (packet.dll version 4.1.0.1753), based on libpcap version 1.0 branch
1_0_rel0b (20091008), GnuTLS 2.8.5, Gcrypt 1.4.5, with AirPcap 3.2.1 build
1069.

Built using Microsoft Visual C++ 9.0 build 30729

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
This bug's Component field is assigned to TShark, but more precisely it is
found in the Wiretap library and probably only affects Editcap.

The following is the abridged results of invoking the command line "editcap -T"
to output a list of encapsulation types:

    ...
    bluetooth-h4 - Bluetooth H4
    ...
    bluetooth-h4 - Bluetooth H4 with linux header
    ....

As you can see, there are two similar yet distinct encapsulation types that
both use the abbreviation "bluetooth-h4". Thus, invoking the command line
"editcap -T bluetooth-h4" is ambiguous (although the linear abbreviation lookup
routine always chooses the first occurrance).

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