Hi,

I want to be able to call dissector_try_port() on the wtap_encap table
within my own dissector. In order to do this I need a handle for the
wtap_encap table, but there doesn't appear to be a function to allow me to
get a handle by name.

Ahhh, I just found it. The function is:

find_dissector_table(const char *name) in epan/packet.c, but it is declared
static. Is there any reason why I couldn't make this function global?

Regards,

Chris.


Reply via email to