Ethereal-dev: [Ethereal-dev] Again, reworks of the capturing engine (tethereal related), pleas

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Wed, 14 Dec 2005 00:03:15 +0100
Hi List!

I've just checked in a huge rework of the mess in main.c/tethereal.c removing a lot of duplicated code (of the capturing engine and command line option handling, making maintenance a PITA).

Please report any new problems, especially if you're working with tethereal!

The changes reduced a lot of redundant code (> 1000 lines)!


Additionally, the command line options of Ethereal slightly changed (making it more consistent with tethereal):

1. New: -D will list the available capture interfaces
2. Changed: -i will accept the index numbers from -D

Especially 2 will make life a lot easier (at least on Win32), so you don't need to provide such a nice string like:

\Device\NPF_{4C1128EB-AC25-4B46-9482-B256F3B91330}

but simply:

2

:-)

I've already change the Ethereal -h output and will change the manpage (and the EUG?) shortly.

Regards, ULFL