aboutsummaryrefslogtreecommitdiffstats
path: root/packet-nbns.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-01-05 22:09:17 +0000
committerGuy Harris <guy@alum.mit.edu>2002-01-05 22:09:17 +0000
commit5ae8fe3b8f85ff126b71d06eabca7e69ae389e6f (patch)
treeb0b0b6f63e5bc871e333716f0151e8e5c3929d04 /packet-nbns.c
parent8c464ca6ccb4f99fedca03b2ff78b0358709e931 (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-nbns.c')
0 files changed, 0 insertions, 0 deletions