I'm a newbie in Lua and I work on a dissector plugin. At the beginning, I created a ProtoField with a certain type :
However, for some reason, I would like to change the type of ProtoField sometimes. I don't think it's possible to change the type of var1 so my idea is to create a new one, using the string from the first one :
Unfortunately, I didn't find anywhere how to reach attributes of the first Protofield. Do you know if it is possible ?
Thanks in advance
This question is marked "community wiki".
asked 06 Jul '17, 06:04