1 | initial version |
I solved it, it seems to compile now. Will add details later :)
2 | No.2 Revision |
I So I finally solved it, it :)
I found the gryphon plugin again that's mentioned in documentation to be taken as example (which I did as I started development with Wireshark 2.2) and compared it to my current file.
There were more things to take care of:
replaced register function:
register_dissector_files(
seems to compile now. Will add details later :)
register_plugin_files(
additional paramter
add_plugin_library(
has a new destination parameter
new functions
There's a two new function
target_link_libraries(protocolname epan)
set_source_files_properties(
you will have to add, that solved my linker errrors
replaced install function:
install(TARGETS protocolname
seems to be replaced by
install_plugin(protocolname destination)
After doing all the changes and re-adding plugin.c to PLUGIN_FILES (seems to be generated through one of the functions I was missing), the dissector worked again without any source code change - great!