Handle FT_PROTOCOL as ByteArray when used in a Field extractor.

svn path=/trunk/; revision=31951
This commit is contained in:
Stig Bjørlykke 2010-02-22 19:22:28 +00:00
parent 2b3fd5ba4e
commit 0991ef8cae
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ WSLUA_METAMETHOD FieldInfo__call(lua_State* L) {
case FT_BYTES:
case FT_UINT_BYTES:
case FT_GUID:
case FT_PROTOCOL:
case FT_OID: {
ByteArray ba = g_byte_array_new();
g_byte_array_append(ba, ep_tvb_memdup(fi->ds_tvb,fi->start,fi->length),fi->length);