aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-catapult-dct2000.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2010-08-25 13:27:27 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2010-08-25 13:27:27 +0000
commitc53d8b200bb44fba18dba0bf1001574e8838ecdc (patch)
treeb980e8459132923819b63a8e0236b33a1fc36855 /epan/dissectors/packet-catapult-dct2000.c
parent3852415572347e04908b539524bca7d56ef3061a (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.c5
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) {