Ethereal-dev: Re: [Ethereal-dev] packet-iscsi.c update

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 28 Jun 2001 01:06:19 -0700 (PDT)
> I enclose a patch to packet-iscsi.c that adds support for header
> digests (CRC32)

Checked in...

> *************** proto_register_iscsi(void)
> *** 1627,1634 ****
>   	},
>   	{ &hf_iscsi_Parameter2,
>   	  { "Parameter2", "iscsi.parameter2",
>   	    FT_UINT16, BASE_HEX, NULL, 0,
> ! 	    "Parameter 2", HFILL }
>   	},
>   	{ &hf_iscsi_Reject_Reason,
>   	  { "Reason", "iscsi.reject.reason",
> --- 1816,1828 ----
>   	},
>   	{ &hf_iscsi_Parameter2,
>   	  { "Parameter2", "iscsi.parameter2",
> + 	    FT_UINT16, BASE_HEX, NULL, 0,
> + 	    "Parameter 2" }
> + 	},
> + 	{ &hf_iscsi_Parameter3,
> + 	  { "Parameter3", "iscsi.parameter3",
>   	    FT_UINT16, BASE_HEX, NULL, 0,
> ! 	    "Parameter 3", HFILL }
>   	},
>   	{ &hf_iscsi_Reject_Reason,
>   	  { "Reason", "iscsi.reject.reason",

...with HFILLs added to the newly-added fields, to squelch compiler
warnings.