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 3912] New: ProtoField.uint* base argument is . instead of

Date: Tue, 18 Aug 2009 04:55:04 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3912

           Summary: ProtoField.uint* base argument is . instead of _
           Product: Wireshark
           Version: 1.2.1
          Platform: All
               URL: http://www.wireshark.org/docs/wsug_html_chunked/wsluarm_
                    modules.html
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Documentation
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: esmidav@xxxxxxxxx


Build Information:
Version 1.2.1 (SVN Rev 29141)

Copyright 1998-2009 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.16.2, with GLib 2.20.3, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with c-ares 1.6.0, with Lua 5.1, with GnuTLS 2.8.1, with Gcrypt 1.4.4, with MIT
Kerberos, with GeoIP, with PortAudio V19-devel (built Jul 19 2009), with
AirPcap.

Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.1
beta5
(packet.dll version 4.1.0.1452), based on libpcap version 1.0.0, GnuTLS 2.8.1,
Gcrypt 1.4.4, without AirPcap.

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.
--
In the help for the Wireshark Lua API base for ProtoField.uint* is stated as:

base (optional)

    One of base.DEC, base.HEX or base.OCT 


where it should state:

base (optional)

    One of base_DEC, base_HEX or base_OCT


i.e. the . should be an underscore, otherwise it is not possible to load the
.lua file and an error such as:

Lua: Error during loading:
 [string "myluafile.lua"]:xxxx: attempt to index global 'base' (a nil value)

is returned


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