diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-05-07 08:11:59 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-05-07 08:11:59 +0000 |
commit | 34afdc5fc31084b07e86f0f4b3a993c025fe969b (patch) | |
tree | b91528a9d65537cc13749800384aa405a83776cc /epan/dissectors/packet-smb.c | |
parent | bda722d3bfd3e6b37eb3dcf7445441ac260def23 (diff) |
change the smb2 ioctl function to take a pointer to a uint32 (ioctl
function code) instead of a structure
extend the nt trans structure to contain a ioctl function code for smb1
svn path=/trunk/; revision=21712
Diffstat (limited to 'epan/dissectors/packet-smb.c')
-rw-r--r-- | epan/dissectors/packet-smb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-smb.c b/epan/dissectors/packet-smb.c index 2c90a9109d..d3103e401d 100644 --- a/epan/dissectors/packet-smb.c +++ b/epan/dissectors/packet-smb.c @@ -7240,6 +7240,7 @@ typedef struct _nt_trans_data { int subcmd; guint32 sd_len; guint32 ea_len; + guint32 ioctl_function; } nt_trans_data; @@ -8038,7 +8039,7 @@ dissect_nt_trans_setup_request(tvbuff_t *tvb, packet_info *pinfo, int offset, pr guint16 fid; /* function code */ - offset = dissect_smb2_ioctl_function(tvb, pinfo, tree, offset, NULL); + offset = dissect_smb2_ioctl_function(tvb, pinfo, tree, offset, &ntd->ioctl_function); /* fid */ fid = tvb_get_letohs(tvb, offset); |