summaryrefslogtreecommitdiff
path: root/docbook
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-01-09 15:13:35 -0800
committerGuy Harris <guy@alum.mit.edu>2017-01-09 23:14:10 +0000
commit8604ed2ef8dabce9abc384b5583ec573348bc920 (patch)
tree8d6266f369cd14c32169cec11373d7c6b8b984b7 /docbook
parent2b482cd0c3f85b0cb20819ad0ce1d612c72f4abd (diff)
downloadwireshark-8604ed2ef8dabce9abc384b5583ec573348bc920.tar.gz
Consistently use tvb_reported_length_remaining().
That's the amount of data left in the packet; perhaps not all of it was *captured*, and using tvb_reported_length_remaining() will throw an exception, but that's what *should* happen ("packet cut short" notification and all). Use tvb_new_subset_remaining() to get a tvbuff with everything after a certain point in the packet. Change-Id: I2512e58e23600f7e7bbce0126732b05997692a65 Reviewed-on: https://code.wireshark.org/review/19596 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'docbook')
0 files changed, 0 insertions, 0 deletions