Wireshark-bugs: [Wireshark-bugs] [Bug 3932] Add a Subdissector Table for (vendor specific) MSTP
Date: Mon, 24 Aug 2009 01:09:58 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3932





--- Comment #1 from Andreas Becker <andreas.becker@xxxxxxx>  2009-08-24 01:09:56 PDT ---
Created an attachment (id=3561)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=3561)
MSTP with IP Frames @VendorID 159 and Frametype 159

Here I used the new Feature: I added with LUA the ip-Dissector to Vendor
specific MSTP-Frames 159 and 160

LUA Script:
do
        local mstp_frametype_table = DissectorTable.get("mstp.prop")
        local ip_dissector = Dissector.get("ip")

--         ((VendorID << 16) + Frametype) 
            mstp_frametype_table:add((159 * 256 * 256) + 159,ip_dissector)
            mstp_frametype_table:add((159 * 256 * 256) + 160,ip_dissector)
end


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