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-ptpip.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-ptpip.c')
-rw-r--r-- | epan/dissectors/packet-ptpip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ptpip.c b/epan/dissectors/packet-ptpip.c index 12a1534283..6d8114a6e0 100644 --- a/epan/dissectors/packet-ptpip.c +++ b/epan/dissectors/packet-ptpip.c @@ -552,7 +552,7 @@ int dissect_ptpIP (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *da guint32 pktType; /* Check that there's enough data */ - if ( tvb_length_remaining(tvb, offset) < 8 ) /* ptp-photo smallest packet size is 8 */ + if ( tvb_captured_length_remaining(tvb, offset) < 8 ) /* ptp-photo smallest packet size is 8 */ return (0); col_set_str(pinfo->cinfo,COL_PROTOCOL, "PTP/IP"); |