1 | initial version |
I have looked into the function and there is an additional " void * " parameter in the dissector_t function.
Yes, there is. A dissector is handed, as its last argument, a void *
, which is a pointer to private data being passed to the dissector. Most dissectors are just passed a null pointer; what it gets passed depends on what's calling it.
Should that parameter be retained
Yes. It has to be there, even if the dissector ignores it.