1 | initial version |
You called dissector_add_for_decode_as()
, which means you need to use the "Decode As..." menu item, or the -d
command-line option, to indicate that CAN payloads should be handed to your dissector. There's no API to allow a dissector to force it to be the dissector used for CAN payloads, without the user explicitly indicating that through the command-line or the GUI.