diff options
author | Ed Warnicke <hagbard@physics.rutgers.edu> | 2001-11-26 04:52:51 +0000 |
---|---|---|
committer | Ed Warnicke <hagbard@physics.rutgers.edu> | 2001-11-26 04:52:51 +0000 |
commit | fcd5b352af60e034a4b63601272b43b6644029cd (patch) | |
tree | b423f343624fa9219216fac49dd6a23b2c4d5586 /packet-smb-pipe.c | |
parent | 7537283cc691e6370db67fd5b0e393583074bf7f (diff) | |
download | wireshark-fcd5b352af60e034a4b63601272b43b6644029cd.tar.gz wireshark-fcd5b352af60e034a4b63601272b43b6644029cd.tar.bz2 wireshark-fcd5b352af60e034a4b63601272b43b6644029cd.zip |
Moved from using dissect_data() to using call_dissector()
svn path=/trunk/; revision=4269
Diffstat (limited to 'packet-smb-pipe.c')
-rw-r--r-- | packet-smb-pipe.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/packet-smb-pipe.c b/packet-smb-pipe.c index 6cb19568a7..c556afdbda 100644 --- a/packet-smb-pipe.c +++ b/packet-smb-pipe.c @@ -8,7 +8,7 @@ XXX Fixme : shouldnt show [malformed frame] for long packets * significant rewrite to tvbuffify the dissector, Ronnie Sahlberg and * Guy Harris 2001 * - * $Id: packet-smb-pipe.c,v 1.54 2001/11/26 01:22:11 guy Exp $ + * $Id: packet-smb-pipe.c,v 1.55 2001/11/26 04:52:51 hagbard Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -158,6 +158,8 @@ static gint ett_lanman_share = -1; static gint ett_lanman_servers = -1; static gint ett_lanman_server = -1; +static dissector_handle_t data_handle; + /* * See * @@ -2542,7 +2544,7 @@ dissect_pipe_msrpc(tvbuff_t *d_tvb, packet_info *pinfo, proto_tree *parent_tree, pinfo->private_data = smb_priv; if (!result) - dissect_data(d_tvb, 0, pinfo, parent_tree); + call_dissector(data_handle,d_tvb, pinfo, parent_tree); return TRUE; } @@ -2960,3 +2962,9 @@ proto_register_smb_pipe(void) proto_register_field_array(proto_smb_pipe, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } + +void +proto_reg_handoff_smb_pipe(void) +{ + data_handle = find_dissector("data"); +} |