Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Lua: condition on protocol preference

From: "Maayan Zadik" <maayanz@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 3 Apr 2012 14:40:01 +0300

Hi all,

 

I have the custom protocol dissector written in C, with registered preferences, and some analysis scripts written in lua, and the analysis results depend on the defined preferences of the protocol.

 

I need to condition on one of the protocol’s preferences.

Is there a way to access that value?

I don’t need to change it, just read it.

 

 

 

Regards,

Maayan Zadik

maayanz@xxxxxxxxxxxxxxxxxxxxx