ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] proto_help.c

From: Chris Maynard <Chris.Maynard@xxxxxxxxx>
Date: Mon, 18 Jul 2011 21:19:54 +0000 (UTC)
Joerg Mayer <jmayer@...> writes:

> Did you commit the code to suport several help files? How is the order of
> the help entries decided if you have entries in more than one .ini file?

There is nothing to commit.  Just dump as many valid help.ini files in the
protocol_help directory as you want and then start up Wireshark.  Anytime you
have help for a protocol in a frame, the option to get help from that file will
be available.  If there are multiple files supplying help, you'll get multiple
help entries to choose from.  If you make changes such as add a new help file,
you'll need to restart Wireshark, as these files are only processed once.

I don't know the order they get loaded though - alphabetical?  I'm not sure.  I
can look at Wireshark's source code tomorrow though to see how they get
processed ...