Hi,

I am writing a Fetion(a popular IM in China) dissector which can
only distinguished by server address.
Hence I write a dissector with following proto_reg_handoff_fetion,

"void

proto_reg_handoff_fetion(void)

 {

     dissector_handle_t fetion_handle;


     fetion_handle = new_create_dissector_handle(dissect_fetion,
proto_fetion);

     dissector_add_string("ip.addr", FETION_SERVER_ADDR, fetion_handle);


 }"

However, it doesn't work. Can anybody help me with this question?

Thanks~


-- 
Best regards!
Eric,Ma
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to