Ethereal-dev: Re: [ethereal-dev] Adding new protocols

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, 16 Jul 2000 23:48:13 -0700
On Wed, Jun 28, 2000 at 10:43:43AM +0900, Richard Sharpe wrote:
> Actually, there is another issue here. It would be useful if we could pass
> information in on the command line (or in the preferences file) saying to
> associate a particular protocol with a particular port.

Note that if you add a preferences-file item for it, that item can be
set from the command line with the "-o" flag.

This might be one advantage of having protocols register preferences
that specify a port (or list of ports) to use - implementing a
user-settable list of ports that way lets you not only change the list
of ports for protocol XXX from the GUI, it also lets you do it from the
command line (or by manually editing the preferences file).