lua - Concatenation of userdata in Wireshark's dissector -


i'm trying concatenate userdata type (tvb) in custom wireshark's dissector, created in lua.

globalbuffer = globalbuffer .. buffer 

however, results in error, "attempt concatenate upvalue 'globalbuffer'". changed above line this:

globalbuffer = globalbuffer.value .. buffer 

now i'm getting this: "no such 'value' function/method/field object type 'tvb'

how concatenate 2 buffers in lua dissector, previous frame , current?


Comments

Popular posts from this blog

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -