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 3513] Lua dissector field registration broken

Date: Sat, 12 Oct 2013 16:38:43 +0000

changed bug 3513

What Removed Added
Attachment #11775 Flags   review_for_checkin?

Comment # 11 on bug 3513 from
Created attachment 11775 [details]
Patch for Bug 3513, cannot define Field refering ProtoField defined in LUA.

I wrote a patch for this problem.

When a new Field is created, does as following: 

* Check whether that field is registered, by using
`proto_registrar_get_byname`. This is current behavior.
* (patched) If not registered, check whether that field is defined in LUA and
will be registered. This is performed in `wslua_is_field_available` accessing
LUA context.
* If not, an error "a field with this name must exist"  occurs.


You are receiving this mail because:
  • You are the assignee for the bug.
  • You are watching all bug changes.