Patch to LUA to implement byte arrays.
This fixes bug 2110.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23896
f5534014-38df-0310-8fa8-
9805f1628bb7
case FT_STRINGZ:
item = proto_tree_add_string(tree_item->tree,hfid,tvbr->tvb,tvbr->offset,tvbr->len,luaL_checkstring(L,1));
break;
+ case FT_BYTES:
+ item = proto_tree_add_bytes(tree_item->tree,hfid,tvbr->tvb,tvbr->offset,tvbr->len, (const guint8*) luaL_checkstring(L,1));
+ break;
case FT_UINT64:
case FT_INT64:
case FT_ETHER:
- case FT_BYTES:
case FT_UINT_BYTES:
case FT_IPv4:
case FT_IPv6: