summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-dcerpc-frsrpc.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2015-06-23 10:55:22 -0700
committerEvan Huus <eapache@gmail.com>2015-06-23 17:56:11 +0000
commiteb321f87107c9b25a5094d749b3bd9d1a72e1560 (patch)
tree25fc90238481792b3e005b51f893dd8f0ad7fd0f /epan/dissectors/packet-dcerpc-frsrpc.c
parent17ac3831d6b461e75cb0ddbaf485353891470185 (diff)
downloadwireshark-eb321f87107c9b25a5094d749b3bd9d1a72e1560.tar.gz
Remove deprecated tvb_length from PIDL dissectors
Also regenerate all to pick up the usage of https in some comment links. Change-Id: Ic17b6368d2118627178b0b560031450d98e5b5e5 Reviewed-on: https://code.wireshark.org/review/9060 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-dcerpc-frsrpc.c')
-rw-r--r--epan/dissectors/packet-dcerpc-frsrpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-dcerpc-frsrpc.c b/epan/dissectors/packet-dcerpc-frsrpc.c
index e264f770e6..be674a8e4f 100644
--- a/epan/dissectors/packet-dcerpc-frsrpc.c
+++ b/epan/dissectors/packet-dcerpc-frsrpc.c
@@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
- found at http://wiki.wireshark.org/Pidl
+ found at https://wiki.wireshark.org/Pidl
*/
@@ -707,7 +707,7 @@ static int
frsrpc_dissect_struct_frsrpc_CommPktChunkCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, guint8 *drep _U_, int hf_index, guint32 param _U_)
{
guint32 nb_chunk = 0;
- guint32 remaining = tvb_length_remaining(tvb, offset);
+ guint32 remaining = tvb_reported_length_remaining(tvb, offset);
int align_status = di->no_align;
if (remaining > 0) {
proto_item *item = proto_tree_add_item(tree, hf_index, tvb, offset, -1, TRUE);
@@ -715,7 +715,7 @@ frsrpc_dissect_struct_frsrpc_CommPktChunkCtr(tvbuff_t *tvb, int offset, packet_i
di->no_align = 1;
for(nb_chunk = 0; remaining > 0; nb_chunk++) {
offset = frsrpc_dissect_struct_CommPktChunk(tvb, offset, pinfo, subtree, di, drep, hf_CommPktChunk, param);
- remaining = tvb_length_remaining(tvb, offset);
+ remaining = tvb_reported_length_remaining(tvb, offset);
}
di->no_align = align_status;
}