* DissectorTable.add does not allow to add lua protocols that don't have a dissector.
authorlego <lego@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 8 Feb 2006 23:26:52 +0000 (23:26 +0000)
committerlego <lego@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 8 Feb 2006 23:26:52 +0000 (23:26 +0000)
commita8571d65220e8eab847947442e7b99a9c2e2fbb5
tree02a0b6361ca44ee3b9f698a571357d5f5e8153e4
parent5798d85c807406cd1eb2d8c873429b378197c0a2
* 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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17220 f5534014-38df-0310-8fa8-9805f1628bb7
plugins/lua/lua_proto.c
plugins/lua/lua_tree.c
plugins/lua/lua_tvb.c
plugins/lua/packet-lua.c
plugins/lua/packet-lua.h