diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-06-18 01:13:07 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-06-18 01:13:07 +0000 |
commit | 458dcb7ea2271200494707361b06208daa160a47 (patch) | |
tree | d3d78892f47b849a0a54f6b2a02c4a80074bc02e /epan/packet.c | |
parent | 3d1115c2bd19c2e8f768f9b0321f60c36df91844 (diff) |
Add ability to export decrypted SSL/DTLS PDUs
svn path=/trunk/; revision=50001
Diffstat (limited to 'epan/packet.c')
-rw-r--r-- | epan/packet.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/epan/packet.c b/epan/packet.c index c8e85cdc17..ef62e803c2 100644 --- a/epan/packet.c +++ b/epan/packet.c @@ -1972,6 +1972,16 @@ find_dissector(const char *name) return (dissector_handle_t)g_hash_table_lookup(registered_dissectors, name); } +/* Get a dissector name from handle. */ +const char * +dissector_handle_get_dissector_name(const dissector_handle_t handle) +{ + if (handle == NULL) { + return NULL; + } + return handle->name; +} + /* Create an anonymous handle for a dissector. */ dissector_handle_t create_dissector_handle(dissector_t dissector, const int proto) |