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

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -