Wireshark-dev: Re: [Wireshark-dev] runtime error using plugin withprefs_register_enum_preferenc

Date: Thu, 23 Oct 2008 16:57:39 +0200
wow, I'm impressed, thanks, I would have never thought of that.
I'll try and remember to read the README doc in the future first.
-----Message d'origine-----
De : Bill Meier [mailto:wmeier@xxxxxxxxxxx] 
Envoyé : jeudi 23 octobre 2008 15:41
À : Developer support list for Wireshark
Cc : CASTLEFORD David RD-MAPS-REN
Objet : Re: [Wireshark-dev] runtime error using plugin withprefs_register_enum_preference

david.castleford@xxxxxxxxxxxxxxxxxx wrote:
> 
> 	/*prefs_register_enum_preference(ismacryp_module, "ismacryp.encoding",
> 					       "ismacryp version",
> 					       "ismacryp version",
> 					       &version_type, version_types, FALSE);
> 	*/

The specific problem is that the preference name ("ismacrypt.encoding") cannot contain the protocol name (see doc/README.developer).

After changing the name to "encoding", things were OK.