Hi Tony,
Thanks, with your help I generated an init.lua file.
I also added dofile('plugins/mydissector.lua') to the end, to run my dissector. However, now I'm not sure that it is getting loaded.
I placed it in the build directory, and then I run WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1 ./wireshark, but my dissector doesn't seem to be loaded. I also try
inserting blatant syntax errors into init.lua but no error is generated.
I have also tried installing and placing init.lua in the "global config dir" (which for me is apparently /usr/local/share/wireshark/), but same (lack of)
result.
If you could be so kind as to give me another pointer that would be great.
Thanks,
Chris
From: wireshark-users-bounces@xxxxxxxxxxxxx [mailto:wireshark-users-bounces@xxxxxxxxxxxxx]
On Behalf Of Tony Trinh
Sent: Saturday 30 March 2013 22:25
To: Community support list for Wireshark
Subject: Re: [Wireshark-users] Finding init.lua after build from source
The script takes two parameters:
$SRC is the root of the wireshark source directory, and
$TEMPLATE is the path to template-init.lua (in the same directory as
make-init-lua.pl).
The result is printed to stdout, so you could redirect it to a file.
~/src/wireshark/epan/wslua