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-giop.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-giop.c')
-rw-r--r-- | packet-giop.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packet-giop.c b/packet-giop.c index 0f55306a7b..e4d76ef8ee 100644 --- a/packet-giop.c +++ b/packet-giop.c @@ -9,7 +9,7 @@ * Frank Singleton <frank.singleton@ericsson.com> * Trevor Shepherd <eustrsd@am1.ericsson.se> * - * $Id: packet-giop.c,v 1.48 2001/08/28 07:19:47 guy Exp $ + * $Id: packet-giop.c,v 1.49 2001/11/26 04:52:49 hagbard Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -465,7 +465,7 @@ static gint ett_giop_fragment = -1; static gint ett_giop_scl = -1; /* ServiceContextList */ static gint ett_giop_ior = -1; /* IOR */ - +static dissector_handle_t data_handle; /* GIOP endianess */ static const value_string giop_endianess_vals[] = { @@ -3896,7 +3896,7 @@ gboolean dissect_giop (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) { header.GIOP_version.major, header.GIOP_version.minor); } - dissect_data (payload_tvb, 0, pinfo, tree); + call_dissector(data_handle,payload_tvb, pinfo, tree); return TRUE; } @@ -4290,6 +4290,7 @@ proto_register_giop (void) void proto_reg_handoff_giop (void) { + data_handle = find_dissector("data"); heur_dissector_add("tcp", dissect_giop, proto_giop); } |