diff options
author | Evan Huus <evan.huus@jadedpixel.com> | 2014-06-19 19:55:27 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-06-19 19:56:32 +0000 |
commit | 15a0a6315641cba55363ba6ef4769b27ffc90ccb (patch) | |
tree | 6966531d85b225e3d3adbeb10474c2aac67fb67e /asn1/disp | |
parent | 78a5f0c1d89a39d103b99d4d618418cd1b81f496 (diff) |
batch of manual tvb_length conversions
Change-Id: Ifea45514bdba8be5f62b9dc560027077297f631e
Reviewed-on: https://code.wireshark.org/review/2456
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'asn1/disp')
-rw-r--r-- | asn1/disp/packet-disp-template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/disp/packet-disp-template.c b/asn1/disp/packet-disp-template.c index 141258615f..20201b69ce 100644 --- a/asn1/disp/packet-disp-template.c +++ b/asn1/disp/packet-disp-template.c @@ -167,7 +167,7 @@ dissect_disp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* d break; default: proto_tree_add_text(tree, tvb, offset, -1,"Unsupported DISP PDU"); - return tvb_length(tvb); + return tvb_captured_length(tvb); } if(disp_dissector) { @@ -183,7 +183,7 @@ dissect_disp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* d } } - return tvb_length(tvb); + return tvb_captured_length(tvb); } |