aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal_gen.py
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-01-15 10:39:49 +0000
committerGuy Harris <guy@alum.mit.edu>2005-01-15 10:39:49 +0000
commit6775bd55576fa22bfd6f6c45527c13114f6def00 (patch)
tree2dc26ce0619ff668fdb3cf8e648776a69667238d /ethereal_gen.py
parentfef9c4529668bb5d17e0578d5866054ab7b75a98 (diff)
Use -1 as a length value for "to the end of the tvbuff".
svn path=/trunk/; revision=13046
Diffstat (limited to 'ethereal_gen.py')
-rw-r--r--ethereal_gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal_gen.py b/ethereal_gen.py
index 2dacf1eaf4..80399c824a 100644
--- a/ethereal_gen.py
+++ b/ethereal_gen.py
@@ -2230,7 +2230,7 @@ static gboolean dissect_@dissname@(tvbuff_t *tvb, packet_info *pinfo, proto_tree
*/
if (ptree) {
- ti = proto_tree_add_item(ptree, proto_@dissname@, tvb, *offset, tvb_length(tvb) - *offset, FALSE);
+ ti = proto_tree_add_item(ptree, proto_@dissname@, tvb, *offset, -1, FALSE);
tree = proto_item_add_subtree(ti, ett_@dissname@);
}