diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-01-05 22:09:17 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-01-05 22:09:17 +0000 |
commit | 5ae8fe3b8f85ff126b71d06eabca7e69ae389e6f (patch) | |
tree | b0b0b6f63e5bc871e333716f0151e8e5c3929d04 /packet-atalk.c | |
parent | 8c464ca6ccb4f99fedca03b2ff78b0358709e931 (diff) |
There's no need for two separate "Extension Length" fields - you can
add a 1-byte item for a FT_UINT16 field.
Don't create a separate tvbuff for the extensions, just use the tvbuff
handed to us and start dissecting at the beginning of the extensions.
Use the reported length, not the captured length, to indicate how much
to dissect, so that if the frame was cut short by the snapshot length,
we throw a "Short Frame" exception.
Use "proto_tree_add_item()", not "proto_tree_add_bytes()", to add an
item for the data in an unknown extension.
svn path=/trunk/; revision=4488
Diffstat (limited to 'packet-atalk.c')
0 files changed, 0 insertions, 0 deletions