summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-mtp3.c
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2014-11-21 15:54:59 +0100
committerAnders Broman <a.broman58@gmail.com>2014-11-21 15:05:33 +0000
commitf2fc562edaa71316b0da541a8c95e29953cdd944 (patch)
tree371fe8ac3eec3cf591682105ac74f54fe5eaac18 /epan/dissectors/packet-mtp3.c
parent96fb34706b972c55706f0be35172b0a248263e3c (diff)
downloadwireshark-f2fc562edaa71316b0da541a8c95e29953cdd944.tar.gz
Replace tvb_length()
Change-Id: I0b5ad4d588f0b658abaf3892d08d6520ecd2f645 Reviewed-on: https://code.wireshark.org/review/5431 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-mtp3.c')
-rw-r--r--epan/dissectors/packet-mtp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mtp3.c b/epan/dissectors/packet-mtp3.c
index b2966e560e..f6b18206c6 100644
--- a/epan/dissectors/packet-mtp3.c
+++ b/epan/dissectors/packet-mtp3.c
@@ -762,7 +762,7 @@ dissect_mtp3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
memcpy(&(tap_rec->addr_dpc), mtp3_addr_dpc, sizeof(mtp3_addr_pc_t));
tap_rec->si_code = (tvb_get_guint8(tvb, SIO_OFFSET) & SERVICE_INDICATOR_MASK);
- tap_rec->size = tvb_length(tvb);
+ tap_rec->size = tvb_reported_length(tvb);
tap_queue_packet(mtp3_tap, pinfo, tap_rec);