diff options
author | Mike Duigou <bondolo@dev.java.net> | 2007-09-19 16:34:06 +0000 |
---|---|---|
committer | Mike Duigou <bondolo@dev.java.net> | 2007-09-19 16:34:06 +0000 |
commit | f6b771c4675448418fd82dcc6c85040522226c6a (patch) | |
tree | 33890756be942633a925ddbee254a2589efc8b2e /epan/packet.c | |
parent | c50311cdc61e8af245b1dfc5386f28b8bc2c4741 (diff) | |
download | wireshark-f6b771c4675448418fd82dcc6c85040522226c6a.tar.gz |
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.
svn path=/trunk/; revision=22907
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; |