This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

From Edit -> Preferences menu under protocols tag if we have made our own protocol in that we want to add browse button to browse the particular file as like in SSL how we can achieve that using LUA Script??

asked 03 Mar '15, 20:55

ankit's gravatar image

ankit
65232328
accept rate: 25%

edited 04 Mar '15, 01:59

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196


Unfortunately, the prefs_register_filename_preference() function isn't exposed in the Lua API, so you can't have such a preference in a Lua dissector, only in a dissector written in C.

@Hadriel, this might be something useful to add to the Lua API in a future release.

permanent link

answered 04 Mar '15, 01:59

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1,620
×431
×124
×39

question asked: 03 Mar '15, 20:55

question was seen: 1,828 times

last updated: 04 Mar '15, 01:59

p​o​w​e​r​e​d by O​S​Q​A