Ethereal-dev: Re: [Ethereal-dev] Some curious code in gtk/proto_draw.c

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 27 Nov 2003 14:22:36 -0800
On Thu, Nov 27, 2003 at 03:00:51PM -0800, Richard Sharpe wrote:
> I think that the code that retrieves the info knows about this reversal.

It's fetching the value for E_BYTE_VIEW_START_KEY into "start" and
the value for E_BYTE_VIEW_END_KEY into "end" - and passing them in that
order to "packet_hex_print_common()", just as "packet_hex_print()" is
passing the values it stored into E_BYTE_VIEW_END_KEY and
E_BYTE_VIEW_START_KEY, respectively, into "packet_hex_print_common()",
so I don't see anything that knows about the reversal.

I have no idea how that manages to get the right answer.