On Mon, Nov 19, 2012 at 5:07 PM, Zadik, Maayan <[email protected]> wrote:
> Local s = string.format("%X", data.value)
>
> and get the following error:
> bad argument #2 to 'format' (number expected, got userdata)
Just try converting data.value with tostring first, like this:
local s = string.format("%X", tostring(data.value))
--
Stig Bjørlykke
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <[email protected]>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:[email protected]?subject=unsubscribe