aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rtp.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-rtp.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-rtp.c')
-rw-r--r--packet-rtp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/packet-rtp.c b/packet-rtp.c
index cf1abac6b7..eaf0151daf 100644
--- a/packet-rtp.c
+++ b/packet-rtp.c
@@ -6,7 +6,7 @@
* Copyright 2000, Philips Electronics N.V.
* Written by Andreas Sikkema <andreas.sikkema@philips.com>
*
- * $Id: packet-rtp.c,v 1.21 2001/06/18 02:17:51 guy Exp $
+ * $Id: packet-rtp.c,v 1.22 2001/07/03 04:56:45 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -261,14 +261,14 @@ dissect_rtp_heur( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
* a heuristic dissector called before us!
* So we first check if the frame is really meant for us.
*/
- if ( ( pconv = find_conversation( &pi.src, &fake_addr, pi.ptype,
- pi.srcport, 0, 0 ) ) == NULL ) {
+ if ( ( pconv = find_conversation( &pinfo->src, &fake_addr, pinfo->ptype,
+ pinfo->srcport, 0, 0 ) ) == NULL ) {
/*
* The source ip:port combination was not what we were
* looking for, check the destination
*/
- if ( ( pconv = find_conversation( &pi.dst, &fake_addr,
- pi.ptype, pi.destport, 0, 0 ) ) == NULL ) {
+ if ( ( pconv = find_conversation( &pinfo->dst, &fake_addr,
+ pinfo->ptype, pinfo->destport, 0, 0 ) ) == NULL ) {
return FALSE;
}
}