diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-06-10 08:58:39 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-06-10 08:20:25 +0000 |
commit | 5cff2b6d03568e4279b1664769053b13c0cc9ec9 (patch) | |
tree | d4ae824a4b2bfb473c94c1b32d23fdb40cf5f0b4 /epan/dissectors/packet-capwap.c | |
parent | 2f13ccc64c6e38336674d1fd6d13e9ece9efec84 (diff) |
CAPWAP: Fix soft-deprecated APIs warning
tvb_length_remaining => tvb_reported_length_remaining
Change-Id: Ie1fa09e00e098c41df2e87771300e3842659dad6
Reviewed-on: https://code.wireshark.org/review/2095
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-capwap.c')
-rw-r--r-- | epan/dissectors/packet-capwap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-capwap.c b/epan/dissectors/packet-capwap.c index 4e659dfcc2..43575b331d 100644 --- a/epan/dissectors/packet-capwap.c +++ b/epan/dissectors/packet-capwap.c @@ -1578,7 +1578,7 @@ dissect_capwap_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void if (global_capwap_reassemble && fragment_is) { - const int len_rem = tvb_length_remaining(tvb, offset); + const int len_rem = tvb_reported_length_remaining(tvb, offset); if (len_rem <= 0) return offset; @@ -1665,7 +1665,7 @@ dissect_capwap_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (global_capwap_reassemble && fragment_is) { - gint len_rem = tvb_length_remaining(tvb, offset); + gint len_rem = tvb_reported_length_remaining(tvb, offset); if (len_rem <= 0) return; |