aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dop.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2012-10-24 19:13:54 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2012-10-24 19:13:54 +0000
commit6a4eed57f2b2b5e2de1454d1596385e0174619ac (patch)
tree5ac602cda9bfda385dbe257920b632cb2719b7e0 /epan/dissectors/packet-dop.c
parent2e701abf3ac072f426e5474a33e9b723a0b08fd4 (diff)
To indicate that all bytes in the tvb were consumed, just return tvb_reported_length().
svn path=/trunk/; revision=45775
Diffstat (limited to 'epan/dissectors/packet-dop.c')
-rw-r--r--epan/dissectors/packet-dop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dop.c b/epan/dissectors/packet-dop.c
index 9f7227efbb..8c32d65d1f 100644
--- a/epan/dissectors/packet-dop.c
+++ b/epan/dissectors/packet-dop.c
@@ -2054,7 +2054,7 @@ call_dop_oid_callback(char *base_string, tvbuff_t *tvb, int offset, packet_info
col_append_fstr(pinfo->cinfo, COL_INFO, " %s", col_info);
if (dissector_try_string(dop_dissector_table, binding_param, tvb, pinfo, tree)) {
- offset += tvb_length_remaining (tvb, offset);
+ offset = tvb_reported_length (tvb);
} else {
proto_item *item=NULL;
proto_tree *next_tree=NULL;