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] r43579 "Generic preference implementation" broken compile

From: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Date: Fri, 6 Jul 2012 19:57:35 +0200


2012/7/6 Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
SVN revision 43579 broke compilation:

prefs_nameres.c: In function 'nameres_prefs_show':
prefs_nameres.c:109: error: 'e_prefs' has no member named 'name_resolve'
prefs_nameres.c:126: error: 'e_prefs' has no member named 'name_resolve'

This is one case of trying to use the variable that no longer exists:

        prefs.name_resolve = gbl_resolv_flags;

I haven't been following these changes recently - is this line still needed or is this a work in progress yet to be completed?

Hi Stephen,

give a try to current top of tree: it should compile.

Regards,
Pascal.