Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

From this commit, mentioned in the 4.2.0 release notes:

The "init.lua" file is now loaded from any of the Lua plugin directories. Previously it was loaded from the personal configuration directory. (For backward-compatibility this is still allowed; note that deprecated features may be removed in a future release).

There was an issue affecting loading scripts from subdirectories that was fixed in 4.2.1:

From the developer's guide:

If Lua is enabled, Wireshark will first try to load a file named init.lua from the global plugins directory. and then from the user’s personal plugins directory. Then all files ending with .lua are loaded from the global plugins directory. Then all files ending with .lua in the personal Lua plugin’s directory.

Note that the personal plugin location changed around 2.6, though lua plugins, being source and not binary, can be in the older location as well.

To see the list of directories, go to "Help->About Wireshark" and select the "Folders" tab.