aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_bssmap.c
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2014-11-03 16:19:10 +0100
committerAnders Broman <a.broman58@gmail.com>2014-11-03 15:21:43 +0000
commitbba77c3fc04e6fc7b9485611c99fbd9a5e3f12fe (patch)
tree3a29d550b39eaaea2af7a76bd2b5d5c540688bf6 /epan/dissectors/packet-gsm_a_bssmap.c
parent7613327d69747ec4e2b6045c0f29be00128d2b69 (diff)
tvb_length -> tvb_reported_length
Change-Id: I48b618008c8c8accd6f161bdc42e02906a4765b7 Reviewed-on: https://code.wireshark.org/review/5085 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-gsm_a_bssmap.c')
-rw-r--r--epan/dissectors/packet-gsm_a_bssmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-gsm_a_bssmap.c b/epan/dissectors/packet-gsm_a_bssmap.c
index d54ec0f8d4..d87e8eb232 100644
--- a/epan/dissectors/packet-gsm_a_bssmap.c
+++ b/epan/dissectors/packet-gsm_a_bssmap.c
@@ -2768,7 +2768,7 @@ bssmap_old_bss_to_new_bss_info(tvbuff_t *tvb, proto_tree *tree, packet_info *pin
g_tree = tree;
- len = tvb_length(tvb);
+ len = tvb_reported_length(tvb);
be_field_element_dissect(tvb, tree, pinfo, 0, len, NULL, 0);
g_tree = NULL;
@@ -3191,7 +3191,7 @@ bssmap_new_bss_to_old_bss_info(tvbuff_t *tvb, proto_tree *tree, packet_info *pin
g_tree = tree;
- len = tvb_length(tvb);
+ len = tvb_reported_length(tvb);
be_field_element_dissect(tvb, tree, pinfo, 0, len, NULL, 0);
g_tree = NULL;
@@ -7082,7 +7082,7 @@ dissect_bssmap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
g_tree = tree;
- len = tvb_length(tvb);
+ len = tvb_reported_length(tvb);
/*
* add BSSMAP message name