Ethereal-dev: Re: [Ethereal-dev] plugins

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sun, 5 Nov 2000 01:42:18 -0800
On Sun, Nov 05, 2000 at 01:16:28AM -0800, Guy Harris wrote:
> On Sat, Nov 04, 2000 at 06:05:03PM -0500, Ed Warnicke wrote:
> > but how do I indicate in protocol[] that I'm using both tcp and udp.
> 
> Unfortunately, you can't.

...unless you get the latest CVS tree; Olivier Abad checked in, a short
time ago, a change to let you specify, as the protocol string, "tcp
udp", to specify that the plugin should be used for TCP and UDP.

So you can either do old-style plugins with "tcp udp" as the string, or
new-style plugins with "dissector_add()".