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

Wireshark-dev: Re: [Wireshark-dev] callin simple_dialog in my dissector

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Mon, 31 Mar 2008 18:51:04 +0200
On Mon, Mar 31, 2008 at 07:32:22AM +0000, Praveen Kumar Jha wrote:
> I am using proto_reg_handoff_xxx() function as call-back for the
> preferences.
> e.g.
> xxx_module = prefs_register_protocol(proto_xxx, proto_reg_handoff_xxx);
> 
> & registering a preference of uint type with xxx_module (say for example,
> port number).
> 
> In the function proto_reg_handoff_xxx(), i would like to have some check on
> the user entered uint value i.e. the port number,
> and depending on its value I would like to popup an error message in GUI.
> 
> hope that the situation is clear!

Yes, the sutuation is clear: You haven't looked into REAMDE.developer on
how to go about preferences for dissectors.

 Ciao
    Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.