forked from osmocom/wireshark
Handle FT_PROTOCOL as ByteArray when used in a Field extractor.
svn path=/trunk/; revision=31951
This commit is contained in:
parent
2b3fd5ba4e
commit
0991ef8cae
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue