ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 4700] WSLUA improvement (ProtoField.bool extension)

Date: Tue, 2 Nov 2010 07:37:54 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4700

--- Comment #25 from Beth <beth.tridium@xxxxxxxxx> 2010-11-02 07:37:38 PDT ---
Thank you very much, by adding your suggested changes I can get my Lua script
to work.

I still have a couple of questions though:

  *  Why do you choose a 0 mask value?  I would imagine that would always
evaluate to 0 (false).

  *  Now that the ProtoField.bool interface deals in integers instead of
booleans, how is it any advantage over the existing integer options?  I guess I
thought the whole point of having a bool field was that it would accept bool
arguments instead of ints.

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