aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-msnip.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-msnip.c')
-rw-r--r--epan/dissectors/packet-msnip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-msnip.c b/epan/dissectors/packet-msnip.c
index fc8aaf4a23..14acebdae7 100644
--- a/epan/dissectors/packet-msnip.c
+++ b/epan/dissectors/packet-msnip.c
@@ -222,7 +222,7 @@ dissect_msnip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int of
/* 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_msnip, tvb, offset, -1, ENC_NA);