aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb-pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet-smb-pipe.c')
-rw-r--r--packet-smb-pipe.c12
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");
+}