diff options
author | Dario Lombardo <lomato@gmail.com> | 2014-06-17 17:49:26 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-06-18 14:20:32 +0000 |
commit | 021e7afc9fcba09094d0e2143cc434a34e3b09dc (patch) | |
tree | fa0f1cf92d649f2773d63ba35f67c8722e31fb38 /epan/dissectors/packet-nbns.c | |
parent | 246fe2ca4c67d8c98caa84e2f57694f6322e2f96 (diff) |
Fixup: tvb_ensure_length_remaining -> tvb_ensure_captured_length_remaining
Change-Id: I0228f3b6b7067bc0ce51f9d359f99fd18feb2b66
Reviewed-on: https://code.wireshark.org/review/2378
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-nbns.c')
-rw-r--r-- | epan/dissectors/packet-nbns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-nbns.c b/epan/dissectors/packet-nbns.c index 4ac278ef88..4fcd9e2084 100644 --- a/epan/dissectors/packet-nbns.c +++ b/epan/dissectors/packet-nbns.c @@ -1767,7 +1767,7 @@ dissect_nbss(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) while (tvb_reported_length_remaining(tvb, offset) > 0) { /* - * We use "tvb_ensure_length_remaining()" to make sure there actually + * We use "tvb_ensure_captured_length_remaining()" to make sure there actually * *is* data remaining. The protocol we're handling could conceivably * consists of a sequence of fixed-length PDUs, and therefore the * "get_pdu_len" routine might not actually fetch anything from @@ -1776,7 +1776,7 @@ dissect_nbss(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) * * This means we're guaranteed that "length_remaining" is positive. */ - length_remaining = tvb_ensure_length_remaining(tvb, offset); + length_remaining = tvb_ensure_captured_length_remaining(tvb, offset); /* * Can we do reassembly? |