New-style dissectors (such as the LUA one) may return a number. Its
meaning:
negative: need more bytes (not implemented yet, treated as positive).
positive: data is accepted (in the future it should mean "consumed
this number of bytes").
zero: reject data, a different dissector should handle it.
When zero, the dissector should not set desegment_offset and
desegment_length since the data was rejected already. Just return no
number, then all data will be considered part of this protocol. This is
also documented at https://wiki.wireshark.org/Lua/Dissectors.
A certain capture was giving this warning:
New-style dissectors (such as the LUA one) may return a number. Its meaning:
When zero, the dissector should not set desegment_offset and desegment_length since the data was rejected already. Just return no number, then all data will be considered part of this protocol. This is also documented at https://wiki.wireshark.org/Lua/Dissectors.