Wireshark-dev: Re: [Wireshark-dev] Displaying hex dump ONLY in tshark

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Mon, 22 Aug 2011 16:42:57 -0600
On Mon, Aug 22, 2011 at 03:06:58PM -0700, kahou lei wrote:

> Is there a way to display hex dump ONLY in tshark? Currently if I use -x
> option, it will display something like this:
> 
> 0000  00 10 94 00 00 02 00 10 94 00 00 01 08 00 45 00   ..............E.

> I don't want the index number and the display out on the right most 
> area. Is there a way I can only display the hex values in between?

No, it's hard-coded into print.c's print_hex_data_buffer().