aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-infiniband_sdp.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2015-06-23 21:30:15 -0700
committerEvan Huus <eapache@gmail.com>2015-06-24 04:30:35 +0000
commit69cdfe9410e0bc2a3f22a0b499dad19e2323864a (patch)
treef1b760228aa379c2d1c955db3fd94fcdddb848a0 /epan/dissectors/packet-infiniband_sdp.c
parentd0faa9adf8c82fb3e8751fdbff32d5f7203666c9 (diff)
Remove another batch of deprecated tvb_length calls
Change-Id: Icfdde38e40cca05d0705a081153a4ea3e8782ee7 Reviewed-on: https://code.wireshark.org/review/9086 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-infiniband_sdp.c')
-rw-r--r--epan/dissectors/packet-infiniband_sdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-infiniband_sdp.c b/epan/dissectors/packet-infiniband_sdp.c
index 6c15b81e05..a275ffe596 100644
--- a/epan/dissectors/packet-infiniband_sdp.c
+++ b/epan/dissectors/packet-infiniband_sdp.c
@@ -170,7 +170,7 @@ dissect_ib_sdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _
conversation_infiniband_data *convo_data = NULL;
dissector_handle_t infiniband_handle;
- if (tvb_length(tvb) < 16) /* check this has at least enough bytes for the BSDH */
+ if (tvb_captured_length(tvb) < 16) /* check this has at least enough bytes for the BSDH */
return 0;
if (gPREF_MAN_EN) {