aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb-mailslot.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-07-12 23:37:48 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-07-12 23:37:48 +0000
commit0d51040d73b94eeb83e76857c6dfd9e1f8bbc7ee (patch)
tree39829c536e3b2949da081166872267b0147fa588 /packet-smb-mailslot.c
parent7da62581d7feddee9ed814aaa3e936a8fd04e023 (diff)
Tvbuffified SMB BROWSER dissector, from Ronnie Sahlberg.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3706 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-smb-mailslot.c')
-rw-r--r--packet-smb-mailslot.c10
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 = &pi;
+ tvb = tvb_create_from_top(DataOffset);
+
+ return dissect_mailslot_browse(tvb, pinfo, parent);
}
else if (command != NULL && strcmp(command, "LANMAN") == 0) {