Hi,
i am trying to migrate one plugin from wireshark 1.12.8 to wireshark 2.6.3. the existing packet-xxx.c file has proto_tree_add_item() API calls which are removed from 2.6.3. i do observe a tool convert_proto_tree_add_text.pl and tried to run it as mentioned below, 1) ./convert_proto_tree_add_text.pl --action=generate --encoding=ENC_LITTLE_ENDIAN packet-fapi.c 2)./convert_proto_tree_add_text.pl --action=fix-all --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
out put: root@epc:~/ravi/wireshark-wireshark-2.6.3/tools# ./convert_proto_tree_add_text.pl --action=generate --encoding=ENC_LITTLE_ENDIAN packet-fapi.c root@epc:~/ravi/wireshark-wireshark-2.6.3/tools#./convert_proto_tree_add_text.pl --action=fix-all --encoding=ENC_LITTLE_ENDIAN packet-fapi.c Couldn't open packet-fapi.c.proto_tree_input at ./convert_proto_tree_add_text.pl line 201. root@epc:~/ravi/wireshark-wireshark-2.6.3/tools#
it seems step1 is not generated any output file which is input for step2.
can you please let me know how to overcome this issue??
Thanks, Raju