diff options
author | Evan Huus <eapache@gmail.com> | 2015-06-23 15:17:27 -0700 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2015-06-23 22:17:56 +0000 |
commit | 0a9a2554a46ce4e040dba669a3ed22f0e9ab709e (patch) | |
tree | 931067907b96dc2f2ad7bf815f28aad90f6a0f6b /epan/dissectors/packet-ptp.c | |
parent | d4f6480253cf303f70c3d831098adf7582403b8f (diff) |
Remove more deprecated tvb_length calls
Change-Id: Ie137e6f4e20fe26b1a4d9510e267896219c1c631
Reviewed-on: https://code.wireshark.org/review/9075
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ptp.c')
-rw-r--r-- | epan/dissectors/packet-ptp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ptp.c b/epan/dissectors/packet-ptp.c index ab7fe0a0e4..a6a4f8fdb6 100644 --- a/epan/dissectors/packet-ptp.c +++ b/epan/dissectors/packet-ptp.c @@ -3046,7 +3046,7 @@ dissect_ptp_v2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean ptp proto_item *ptp_tlv_period; proto_tree *ptp_tlv_period_tree; - proto_len = tvb_length(tvb); + proto_len = tvb_reported_length(tvb); tlv_offset = PTP_V2_SIG_TLV_START; while (tlv_offset < proto_len) { |