diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2010-08-25 13:27:27 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2010-08-25 13:27:27 +0000 |
commit | c53d8b200bb44fba18dba0bf1001574e8838ecdc (patch) | |
tree | b980e8459132923819b63a8e0236b33a1fc36855 /epan/dissectors/packet-catapult-dct2000.c | |
parent | 3852415572347e04908b539524bca7d56ef3061a (diff) |
Let DCT2000 tree extend to end of ipprim or sctpprim bytes.
svn path=/trunk/; revision=33919
Diffstat (limited to 'epan/dissectors/packet-catapult-dct2000.c')
-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) { |