aboutsummaryrefslogtreecommitdiffstats
path: root/packet-yhoo.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-07-03 04:56:46 +0000
committerGuy Harris <guy@alum.mit.edu>2001-07-03 04:56:46 +0000
commit541af0c740275aa5104328a727ca7c1ebe8c2a69 (patch)
tree1243cf363092206a1a50c7212ed84fee958369b1 /packet-yhoo.c
parentcef26010874fe8214b2ef9d8df4dc109818469ae (diff)
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-yhoo.c')
-rw-r--r--packet-yhoo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-yhoo.c b/packet-yhoo.c
index 0d84c9102d..b671be2add 100644
--- a/packet-yhoo.c
+++ b/packet-yhoo.c
@@ -2,10 +2,10 @@
* Routines for yahoo messenger packet dissection
* Copyright 1999, Nathan Neulinger <nneul@umr.edu>
*
- * $Id: packet-yhoo.c,v 1.16 2001/06/18 02:17:58 guy Exp $
+ * $Id: packet-yhoo.c,v 1.17 2001/07/03 04:56:46 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
@@ -115,7 +115,7 @@ dissect_yhoo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
return FALSE;
}
- if (pi.srcport != TCP_PORT_YHOO && pi.destport != TCP_PORT_YHOO) {
+ if (pinfo->srcport != TCP_PORT_YHOO && pinfo->destport != TCP_PORT_YHOO) {
/* Not the Yahoo port - not a Yahoo Messenger packet. */
return FALSE;
}