aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-dmx.c')
-rw-r--r--epan/dissectors/packet-dmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dmx.c b/epan/dissectors/packet-dmx.c
index bf1a4c6773..f5e2c05658 100644
--- a/epan/dissectors/packet-dmx.c
+++ b/epan/dissectors/packet-dmx.c
@@ -103,7 +103,7 @@ dissect_dmx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
call_dissector(dmx_sip_handle, next_tvb, pinfo, tree);
break;
default:
- if (offset < tvb_length(tvb))
+ if (offset < tvb_captured_length(tvb))
call_dissector(data_handle, next_tvb, pinfo, tree);
break;
}