Ethereal-dev: Re: [Ethereal-dev] Cisco NetFlow (and Juniper Cflowd) dissector

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Thu, 5 Sep 2002 11:46:14 -0700
On Thu, Sep 05, 2002 at 07:32:47PM +0200, Hannes Gredler wrote:
> another question: is there a way to tell ethereal on startup
> that is should register the netflow dissector on a specific UDP
> port ?

Make it a preference for the dissector, and have it use the integer
value for the preference in the call to register it.

At some point, it might be worth moving most if not all of the dissector
registration to common code, driven from a file with entries like

	tcp.port	http	80,8080,3128,3132,1900

That could be done if all dissectors used with "dissector_add()"
registered themselves by name.