I don't seem to be able to use Struct.pack and Struct.unpack in the lua interpreter for the latest OSX version of 1.10.7. I got an "attempt to index global 'Struct' (a nil value)" error even though Wireshark appears to have Struct support at least in the documentation section and one of the check-in messages. http://www.wireshark.org/docs/wsug_html_chunked/lua_module_Struct.html#lua_class_Struct http://www.wireshark.org/lists/wireshark-commits/201402/msg00189.html asked 11 May '14, 15:41 software eng... edited 11 May '14, 15:41 |
One Answer:
This commit was done in the development (master) branch and not in the stable (master-1.10) branch. You should use the Wireshark 1.11.3 release found on the website or a later development snapshot. answered 11 May '14, 22:51 Pascal Quantin |
Thanks. It wasnt obvious from the commit link which version it went into.
The API doc should say it's "Since 1.11.3" for Struct, as it does for the other new things... but does not do for Struct. I'll fix it when I get some free time this week.