Hi all,

I'm having trouble in calling a dissector from another dissector. I'm
working on the WBXML dissector, which should be called from within the WSP
dissector, but I don't get it to work.

The WSP dissector is referring to dissector tables:
[packet-wsp.c]
    wsp_dissector_table = register_dissector_table("wsp.content_type.type",
        "WSP content type", FT_UINT8, BASE_HEX);
    register_heur_dissector_list("wsp", &heur_subdissector_list);

Should I then write the following for enabling the WBXML?

[packet-wbxml.c - new]
void
proto_reg_handoff_wbxml(void)
{
        dissector_add("wsp.content_type.type", 0x14, wbxml_handle); /* wmlc
*/
}

It doesn't work however.

Regards,

Olivier Biot 

Reply via email to