aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-3g-a11.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-09-07 15:01:10 -0400
committerAnders Broman <a.broman58@gmail.com>2014-09-08 14:11:44 +0000
commitc1bc1b6a83e17a79fc09cfdaac7cc5b60964379e (patch)
treef3657e249de71c7e7a24610186f579d7bdf005ef /epan/dissectors/packet-3g-a11.c
parent64cabe9ed2990571cdc7c3ad425754a532f2d292 (diff)
Convert some deprecated tvb_length calls
Change-Id: I6337f8e02a41106a363b9bf767bc4b3697442d41 Reviewed-on: https://code.wireshark.org/review/4027 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-3g-a11.c')
-rw-r--r--epan/dissectors/packet-3g-a11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-3g-a11.c b/epan/dissectors/packet-3g-a11.c
index 78bf243aab..bd8b521c70 100644
--- a/epan/dissectors/packet-3g-a11.c
+++ b/epan/dissectors/packet-3g-a11.c
@@ -742,7 +742,7 @@ dissect_3gpp2_service_option_profile(proto_tree *tree, tvbuff_t *tvb, packet_i
proto_tree_add_item(tree, hf_a11_serv_opt_prof_max_serv, tvb, offset, 4, ENC_BIG_ENDIAN);
offset+=4;
- while (tvb_length_remaining(tvb,offset) > 0) {
+ while (tvb_reported_length_remaining(tvb,offset) > 0) {
sub_type_length = tvb_get_guint8(tvb,offset+1);
sub_type = tvb_get_guint8(tvb,offset);
@@ -786,7 +786,7 @@ dissect_3gpp2_radius_aut_flow_profile_ids(proto_tree *tree, tvbuff_t *tvb, pac
guint8 sub_type, sub_type_length;
guint32 value;
- while (tvb_length_remaining(tvb,offset) > 0) {
+ while (tvb_reported_length_remaining(tvb,offset) > 0) {
sub_type = tvb_get_guint8(tvb,offset);
sub_type_length = tvb_get_guint8(tvb,offset+1);
/* value is 2 octets */