diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-07-03 04:56:46 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-07-03 04:56:46 +0000 |
commit | 541af0c740275aa5104328a727ca7c1ebe8c2a69 (patch) | |
tree | 1243cf363092206a1a50c7212ed84fee958369b1 /packet-quake.c | |
parent | cef26010874fe8214b2ef9d8df4dc109818469ae (diff) | |
download | wireshark-541af0c740275aa5104328a727ca7c1ebe8c2a69.tar.gz wireshark-541af0c740275aa5104328a727ca7c1ebe8c2a69.tar.bz2 wireshark-541af0c740275aa5104328a727ca7c1ebe8c2a69.zip |
Use the "pinfo" argument, rather than the global "pi", to refer to the
packet information in tvbuffified dissectors.
svn path=/trunk/; revision=3645
Diffstat (limited to 'packet-quake.c')
-rw-r--r-- | packet-quake.c | 8 |
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); } |