convert_proto_tree_add_text.pl is not generating any output file
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 prototreeadd_item() API calls which are removed from 2.6.3.
i do observe a tool convertprototreeaddtext.pl and tried to run it as mentioned below,
./convert_proto_tree_add_text.pl --action=generate --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
./convert_proto_tree_add_text.pl --action=fix-all --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
output:
root@epc:~/raju/wireshark-wireshark-2.6.3/tools# ./convert_proto_tree_add_text.pl --action=generate --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
root@epc:~/raju/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.
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
Give the path to packet-fapi.c
packet-fapi.c file is located in the same location ~/raju/wireshark-wireshark-2.6.3/tools.