diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-07-12 23:37:48 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-07-12 23:37:48 +0000 |
commit | 6a1bd875662282930a1b983ff621c7f1fb89c658 (patch) | |
tree | 39829c536e3b2949da081166872267b0147fa588 /packet-smb-mailslot.c | |
parent | 34e8119c3250228fdf6d0ffb5c432346bcf51bc5 (diff) |
Tvbuffified SMB BROWSER dissector, from Ronnie Sahlberg.
svn path=/trunk/; revision=3706
Diffstat (limited to 'packet-smb-mailslot.c')
-rw-r--r-- | packet-smb-mailslot.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/packet-smb-mailslot.c b/packet-smb-mailslot.c index 99343b803c..4fa044fc21 100644 --- a/packet-smb-mailslot.c +++ b/packet-smb-mailslot.c @@ -2,7 +2,7 @@ * Routines for SMB mailslot packet dissection * Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com> * - * $Id: packet-smb-mailslot.c,v 1.12 2001/07/08 11:32:02 guy Exp $ + * $Id: packet-smb-mailslot.c,v 1.13 2001/07/12 23:37:48 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -123,9 +123,11 @@ dissect_mailslot_smb(const u_char *pd, int offset, frame_data *fd, if (command != NULL && strcmp(command, "BROWSE") == 0) { /* Decode a browse */ - return dissect_mailslot_browse(pd, offset, fd, parent, tree, - si, max_data, SMB_offset, errcode, dirn, command, - DataOffset, DataCount); + tvbuff_t *tvb; + packet_info *pinfo = π + tvb = tvb_create_from_top(DataOffset); + + return dissect_mailslot_browse(tvb, pinfo, parent); } else if (command != NULL && strcmp(command, "LANMAN") == 0) { |