Ethereal-cvs: [Ethereal-cvs] rev 17220: /trunk/plugins/lua/: lua_proto.c lua_tree.c lua_tvb.c

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

Date: Wed, 08 Feb 2006 23:26:53 GMT
User: lego
Date: 2006/02/08 05:26 PM

Log:
 * DissectorTable.add does not allow to add lua protocols that don't have a dissector.
 * ProtoFiled.uint checks the base to be a valid value to avoid an assertion in proto.c while registering the field array
 * save one lua table lookup by using a reference to the dissectors table instead of looking for it by name
 * set data_hanlde's value to avoid a crash while invoking it.
 * make the TvbRange of Tree:add_item really optional.

Directory: /trunk/plugins/lua/
  Changes    Path            Action
  +18 -5     lua_proto.c     Modified
  +8 -1      lua_tree.c      Modified
  +17 -6     lua_tvb.c       Modified
  +20 -28    packet-lua.c    Modified
  +3 -3      packet-lua.h    Modified



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