aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-quake3.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-quake3.c')
-rw-r--r--epan/dissectors/packet-quake3.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/epan/dissectors/packet-quake3.c b/epan/dissectors/packet-quake3.c
index 5d5e6b8a6c..ed39a3c7ec 100644
--- a/epan/dissectors/packet-quake3.c
+++ b/epan/dissectors/packet-quake3.c
@@ -68,8 +68,6 @@ static gint ett_quake3_game_seq2 = -1;
static gint ett_quake3_game_clc = -1;
static gint ett_quake3_game_svc = -1;
-static dissector_handle_t data_handle;
-
#define QUAKE3_SERVER_PORT 27960
#define QUAKE3_MASTER_PORT 27950
static guint gbl_quake3_server_port=QUAKE3_SERVER_PORT;
@@ -332,7 +330,7 @@ dissect_quake3_client_commands(tvbuff_t *tvb, packet_info *pinfo,
proto_tree *tree)
{
/* this shouldn't be too difficult */
- call_dissector(data_handle,tvb, pinfo, tree);
+ call_data_dissector(tvb, pinfo, tree);
}
@@ -342,7 +340,7 @@ dissect_quake3_server_commands(tvbuff_t *tvb, packet_info *pinfo,
{
/* It is totally forbidden to decode this any further,
I won't do it. */
- call_dissector(data_handle,tvb, pinfo, tree);
+ call_data_dissector(tvb, pinfo, tree);
}
@@ -590,7 +588,6 @@ proto_reg_handoff_quake3(void)
if (!initialized) {
quake3_handle = create_dissector_handle(dissect_quake3,
proto_quake3);
- data_handle = find_dissector("data");
initialized=TRUE;
} else {
for (i=0;i<4;i++)