Ask Your Question

Revision history [back]

The result of ProtoField.new(...) should be added to the fields property of a Proto instance. This allows them to be registered with a dissector.

See https://www.wireshark.org/docs/wsdg_html_chunked/wslua_dissector_example.html for an example. If you have no other fields, you could use your_proto.fields = hdr_tag_types.