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 4700] WSLUA improvement (ProtoField.bool extension)

Date: Thu, 28 Oct 2010 22:26:29 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4700

--- Comment #21 from Tamas Regos <tamas.regos@xxxxxxxxxxxx> 2010-10-28 22:26:23 PDT ---
Hi,

The reason of the lua_toboolean -> luaL_checknumber change is:
"This must be checknumber, otherwise with lua_boolean we mask the input octet
to
1 bit..."

So it might be related to your problem.

I tried it with tree:add(F_isHop1, tvb(), true) and it did not report problem.

Please update your syntax or if you can provide more of your code then we can
get closer to the problem.

Thanks,
Tamas

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