Ethereal-dev: Re: [Ethereal-dev] SMB: New info level

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: Mon, 19 Jan 2004 18:45:36 -0800

On Jan 19, 2004, at 5:48 PM, Ian Schorr wrote:

Attached is a diff against latest CVS packet-smb.c, adding a new infolevel for Query_Path_Info & Query_File_Info.

What generates requests for that infolevel?

+	/* file size */
+	CHECK_BYTE_COUNT_SUBR(8);
+	proto_tree_add_item(tree, hf_smb_file_size64, tvb, offset, 8, TRUE);
+	offset += 8;
+	*bcp -= 8;

Should that just use hf_smb_end_of_file? (Or, alternatively, should hf_smb_end_of_file be replaced by hf_smb_file_size64?)