Wireshark-bugs: [Wireshark-bugs] [Bug 5204] New: Lua: Suggest to expose pinfo.match_string as By

Date: Sun, 12 Sep 2010 04:04:14 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5204

           Summary: Lua: Suggest to expose pinfo.match_string as ByteArray
                    to lua script
           Product: Wireshark
           Version: 1.2.7
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: qiangxiong.huang@xxxxxxxxx


Build Information:
Version 1.2.7 (SVN Rev 32341)
--
Suggest to expose pinfo.match_string as ByteArray to lua script. Because some
dissector, like http dissector, will put content-type to pinfo.match_string and
content_type_parameters to pinfo.private_data, then invoke their subdissector
(like "media_type" table's dissector). Certainly, now dissectors that register
in "media_type" table can use Field.new("Content-Type") to get content-type
value, and parsing it itself. But I think it is formal way to get it from 
match_string and private_data.

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