Wireshark-bugs: [Wireshark-bugs] [Bug 6357] New: Lua scripting: all_field_infos() broken within
Date: Mon, 19 Sep 2011 09:33:09 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6357

           Summary: Lua scripting: all_field_infos() broken within
                    tap/listener
           Product: Wireshark
           Version: 1.6.0
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: TShark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: cold_fusion@xxxxxxxxxxx


Build Information:
Version 1.6.1 (SVN Rev 38096 from /trunk-1.6)

Copyright 1998-2011 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 (32-bit) with GTK+ 2.22.1, with GLib 2.26.1, with WinPcap (version
unknown), with libz 1.2.5, without POSIX capabilities, without libpcre, with
SMI
0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.10.3,
with
Gcrypt 1.4.6, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
Jul
18 2011), with AirPcap.

Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.1.2
(packet.dll version 4.1.0.2001), based on libpcap version 1.0 branch 1_0_rel0b
(20091008), GnuTLS 2.10.3, Gcrypt 1.4.6, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 21022

--
all_field_infos() broken within tap/listener.

Doing this "fields = { all_field_infos() }" in a listener function yields an
array of only the topmost protocols in the tree.

According to user "helloworld" from the "ask a question" page: "It turns out
that all_field_infos() behaves differently in a tap/listener than a
postdissector. The function correctly enumerates all fields in the
postdissector while it only includes the header fields in the tap. This is
likely a bug."

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