Ethereal-dev: Re: [Ethereal-dev] Pls advise for supporting new Ascend/Lucent format

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: Sat, 1 Dec 2001 14:01:55 -0800
On Sat, Dec 01, 2001 at 09:54:59PM +0900, Motonori Shindo wrote:
> Any advise will be highly appreciated.

If there is a maximum of 16 hex numbers per line in both formats, I'd be
inclined to have the lexer keep track of how many hex numbers it's seen,
and treat only the first 16 on a line as data, and treat all the rest as
part of a character display.

text2pcap had the same problem, which I fixed recently.