diff options
Diffstat (limited to 'doc/README.dissector')
-rw-r--r-- | doc/README.dissector | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/README.dissector b/doc/README.dissector index 39600c515e..3a722cb87f 100644 --- a/doc/README.dissector +++ b/doc/README.dissector @@ -2225,7 +2225,7 @@ that are relevant to the next dissector). The syntax for creating a new TVBUFF_SUBSET is: -next_tvb = tvb_new_subset(tvb, offset, length, reported_length) +next_tvb = tvb_new_subset_length_caplen(tvb, offset, length, reported_length) or, in the common case where it should just run to the end of the packet, |