aboutsummaryrefslogtreecommitdiffstats
path: root/packet-quake.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-07-03 04:56:46 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-07-03 04:56:46 +0000
commitd939a63ae28c17f97ad6cc6bafb1e1ad7169272b (patch)
tree1243cf363092206a1a50c7212ed84fee958369b1 /packet-quake.c
parent2e54d1cad358af56682577ca9178637a2c123d47 (diff)
Use the "pinfo" argument, rather than the global "pi", to refer to the
packet information in tvbuffified dissectors. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3645 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-quake.c')
-rw-r--r--packet-quake.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-quake.c b/packet-quake.c
index 7552d046c2..6982725d1c 100644
--- a/packet-quake.c
+++ b/packet-quake.c
@@ -4,10 +4,10 @@
* Uwe Girlich <uwe@planetquake.com>
* http://www.idsoftware.com/q1source/q1source.zip
*
- * $Id: packet-quake.c,v 1.16 2001/06/21 15:13:42 girlich Exp $
+ * $Id: packet-quake.c,v 1.17 2001/07/03 04:56:45 guy Exp $
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
*
* Copied from packet-tftp.c
@@ -240,8 +240,8 @@ dissect_quake_CCREP_ACCEPT
conversation_t *c;
port = tvb_get_letohl(tvb, 0);
- c = conversation_new( &pi.src, &pi.dst, PT_UDP, port, pi.destport,
- NULL, 0);
+ c = conversation_new( &pinfo->src, &pinfo->dst, PT_UDP, port,
+ pinfo->destport, NULL, 0);
if (c) {
conversation_set_dissector(c, dissect_quake);
}