https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13950

Mike Baker <mba...@activevideo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|INCOMPLETE                  |RESOLVED
         Resolution|---                         |FIXED

--- Comment #18 from Mike Baker <mba...@activevideo.com> ---
Thank you, Stig!

Indeed, that was the problem with the handling of the lua code using
ftypes.ETHER.  I had copied the older .lua file across, not realizing there had
been changes.

Specifically, in the 2.2.8 version of init.lua, notice that UINT8 has the value
= 3:

-- Field Types
ftypes = {
        ["NONE"] = 0,
        ["PROTOCOL"] = 1,
        ["BOOLEAN"] = 2,
        ["UINT8"] = 3,
        ["UINT16"] = 4,
        ...
        ["STRINGZ"] = 26,
        ["UINT_STRING"] = 27,
        ["ETHER"] = 28,
        ["BYTES"] = 29,
        ...
}

While in the 2.4.0 version of init.lua, there is a new "CHAR" type inserted
with value = 3.  This has a rippling effect down to change the value of the
ETHER ftype:

-- Field Types
ftypes = {
        ["NONE"] = 0,
        ["PROTOCOL"] = 1,
        ["BOOLEAN"] = 2,
        ["CHAR"] = 3,
        ["UINT8"] = 4,
        ["UINT16"] = 5,
        ...
        ["STRINGZ"] = 27,
        ["UINT_STRING"] = 28,
        ["ETHER"] = 29,
        ["BYTES"] = 30,
        ...
}

Sorry for the trouble I caused in reporting this -- I am resolving the issue,
thanks again!

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to