diff options
author | Ed Warnicke <hagbard@physics.rutgers.edu> | 2001-11-25 22:19:25 +0000 |
---|---|---|
committer | Ed Warnicke <hagbard@physics.rutgers.edu> | 2001-11-25 22:19:25 +0000 |
commit | a810a01338337a3802ff19ef9d952999181458c3 (patch) | |
tree | 1f481119d56632ad3f9030bd985f5e9f8bc53ea9 /packet-quakeworld.c | |
parent | 3054b1127a250514b15ac214bbe9e32a125ea7cf (diff) |
Switched from calling dissect_data to using call_dissector
svn path=/trunk/; revision=4263
Diffstat (limited to 'packet-quakeworld.c')
-rw-r--r-- | packet-quakeworld.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/packet-quakeworld.c b/packet-quakeworld.c index bc9500a9f8..b052638cff 100644 --- a/packet-quakeworld.c +++ b/packet-quakeworld.c @@ -4,7 +4,7 @@ * Uwe Girlich <uwe@planetquake.com> * http://www.idsoftware.com/q1source/q1source.zip * - * $Id: packet-quakeworld.c,v 1.4 2001/07/22 18:51:51 girlich Exp $ + * $Id: packet-quakeworld.c,v 1.5 2001/11/25 22:19:24 hagbard Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -77,7 +77,7 @@ static gint ett_quakeworld_game_seq2 = -1; static gint ett_quakeworld_game_clc = -1; static gint ett_quakeworld_game_svc = -1; - +static dissector_handle_t data_handle; /* helper functions, they may ave to go somewhere else @@ -580,7 +580,7 @@ dissect_quakeworld_client_commands(tvbuff_t *tvb, packet_info *pinfo, the information from my QWD specs: http://www.planetquake.com/demospecs/qwd/ */ - dissect_data(tvb, 0, pinfo, tree); + call_dissector(data_handle,tvb, pinfo, tree); } @@ -592,7 +592,7 @@ dissect_quakeworld_server_commands(tvbuff_t *tvb, packet_info *pinfo, the information from my QWD specs: http://www.planetquake.com/demospecs/qwd/ */ - dissect_data(tvb, 0, pinfo, tree); + call_dissector(data_handle,tvb, pinfo, tree); } @@ -798,6 +798,7 @@ proto_reg_handoff_quakeworld(void) dissector_add("udp.port", gbl_quakeworldServerPort, dissect_quakeworld, proto_quakeworld); + data_handle = find_dissector("data"); } |