aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rgmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-rgmp.c')
-rw-r--r--epan/dissectors/packet-rgmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rgmp.c b/epan/dissectors/packet-rgmp.c
index c1c925ba0f..10a3ab744f 100644
--- a/epan/dissectors/packet-rgmp.c
+++ b/epan/dissectors/packet-rgmp.c
@@ -68,7 +68,7 @@ dissect_rgmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int off
/* we are not enabled, skip entire packet to be nice
to the igmp layer. (so clicking on IGMP will display the data)
*/
- return offset + tvb_length_remaining(tvb, offset);
+ return offset + tvb_captured_length_remaining(tvb, offset);
}
item = proto_tree_add_item(parent_tree, proto_rgmp, tvb, offset, -1, ENC_NA);