aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ax25-nol3.c
diff options
context:
space:
mode:
authorAndersBroman <a.broman@bredband.net>2015-04-15 17:20:35 +0200
committerAnders Broman <a.broman58@gmail.com>2015-04-15 15:22:42 +0000
commit05c0152370cbe084193ad2946e6fc96a1017c08e (patch)
tree3214e835a86507969b9cf0a93391fcaa51e56c3a /epan/dissectors/packet-ax25-nol3.c
parentd2e880eab134e4414b143b6e03767bf6424b749c (diff)
Replcae deprecated API tvb_length with tvb_reported_length or tvb_captured
length. Change-Id: Id42f3409a32e202528d350f7afde7376e411fc51 Reviewed-on: https://code.wireshark.org/review/8076 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ax25-nol3.c')
-rw-r--r--epan/dissectors/packet-ax25-nol3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ax25-nol3.c b/epan/dissectors/packet-ax25-nol3.c
index 26d28cbd8b..50dad15c19 100644
--- a/epan/dissectors/packet-ax25-nol3.c
+++ b/epan/dissectors/packet-ax25-nol3.c
@@ -88,7 +88,7 @@ dissect_dx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
int offset;
offset = 0;
- data_len = tvb_length_remaining( tvb, offset );
+ data_len = tvb_reported_length_remaining( tvb, offset );
col_set_str( pinfo->cinfo, COL_PROTOCOL, "DX" );