aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-igap.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-igap.c')
-rw-r--r--epan/dissectors/packet-igap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-igap.c b/epan/dissectors/packet-igap.c
index 7a478b2cfd..d73e844572 100644
--- a/epan/dissectors/packet-igap.c
+++ b/epan/dissectors/packet-igap.c
@@ -137,7 +137,7 @@ dissect_igap(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_igap, tvb, offset, -1, ENC_NA);