Ethereal-cvs: [Ethereal-cvs] Rev 12391: /trunk/epan/dissectors/: packet-bootp.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Tue, 26 Oct 2004 07:00:38 -0000
User: guy
Date: 2004/10/26 02:00 AM

Log:
 Add a "data" item to the opt_info structure, containing a "const void
 *".  For val_u_byte, if non-null, it points to a "value_string" table to
 be used to interpret the value.  Replace "toggle" and "yes_no" with
 "boolean, and have the "data" pointer point to a "struct
 true_false_string" to be used to interpret the value.
 
 The NetBIOS-over-TCP/IP Node Type option can now be a regular val_u_byte
 value, with the appropriate value_string table.
 
 Construct the item for DHCP options by initializing it without the value
 and appending the value to the item's string with
 "proto_item_append_text()".

Directory: /trunk/epan/dissectors/
  Changes    Path              Action
  +345 -367  packet-bootp.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=12391&view=rev