diff options
author | bondolo <bondolo@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-09-19 16:34:06 +0000 |
---|---|---|
committer | bondolo <bondolo@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-09-19 16:34:06 +0000 |
commit | d2020ecc61375e8abb19ce780927cd44ef9c0e35 (patch) | |
tree | 33890756be942633a925ddbee254a2589efc8b2e /epan/packet.c | |
parent | cc258c0fc448a1c020a6cb2762d5fc2f57faffed (diff) |
call_dissector() provides generic 'data' handler for unrecognized data types. call_dissector_only() fails gracefully for unrecognized types. The handler for generic 'data' should avoid the variant that potentially could result in recursively calling itself.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22907 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/packet.c')
-rw-r--r-- | epan/packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/packet.c b/epan/packet.c index 7960a35ed6..5627a79efd 100644 --- a/epan/packet.c +++ b/epan/packet.c @@ -1755,7 +1755,7 @@ call_dissector(dissector_handle_t handle, tvbuff_t *tvb, */ g_assert(data_handle != NULL); g_assert(data_handle->protocol != NULL); - call_dissector(data_handle, tvb, pinfo, tree); + call_dissector_only(data_handle, tvb, pinfo, tree); return tvb_length(tvb); } return ret; |