diff options
author | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-08-25 13:27:27 +0000 |
---|---|---|
committer | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-08-25 13:27:27 +0000 |
commit | 45cad00a2eed6d5daa810f1344a2ed9633f9d501 (patch) | |
tree | b980e8459132923819b63a8e0236b33a1fc36855 /epan | |
parent | 1b41e016e4e9ef09fa6f395e543eeccfe122b17c (diff) |
Let DCT2000 tree extend to end of ipprim or sctpprim bytes.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33919 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-catapult-dct2000.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-catapult-dct2000.c b/epan/dissectors/packet-catapult-dct2000.c index df9012dd19..7ec1b51fee 100644 --- a/epan/dissectors/packet-catapult-dct2000.c +++ b/epan/dissectors/packet-catapult-dct2000.c @@ -1770,9 +1770,6 @@ dissect_catapult_dct2000(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) encap = tvb_get_guint8(tvb, offset); offset++; - /* Set selection length of dct2000 tree */ - proto_item_set_len(dct2000_tree, offset); - /* Add useful details to protocol tree label */ proto_item_append_text(ti, " context=%s.%u t=%s %c prot=%s (v=%s)", tvb_get_ptr(tvb, 0, context_length), @@ -2263,6 +2260,8 @@ dissect_catapult_dct2000(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) return; } + /* Set selection length of dct2000 tree */ + proto_item_set_len(dct2000_tree, offset); /* Try appropriate dissector, if one has been selected */ if (protocol_handle != 0) { |