2

i try to make a plugin based ASN1 dissector. I used the toyasn1 sample and only added my .asn files to the makefile of the Plugin. Now if i start wireshark i always get the error:

Couldn't load module /wireshark-1.10-9/plugins/toyasn1/.libs/toyasn1.so: /wireshark-1.10.9/plugins/toyasn1/.libs/toysn1.so: undefined symbol: dissector_add

The same error occours with dissector_delete.

Does someone know how to solve it?

2 Answers 2

3

Change the calls to dissector_add() to call dissector_add_uint(), and the calls to dissector_delete() to dissector_delete_uint(), instead; as noted in the other answer, the names of the routines changed.

0

The api changed to dissector_add_uint()

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.