From 541af0c740275aa5104328a727ca7c1ebe8c2a69 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 3 Jul 2001 04:56:46 +0000 Subject: Use the "pinfo" argument, rather than the global "pi", to refer to the packet information in tvbuffified dissectors. svn path=/trunk/; revision=3645 --- packet-rtcp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packet-rtcp.c') diff --git a/packet-rtcp.c b/packet-rtcp.c index 504d615b6f..1507497bc0 100644 --- a/packet-rtcp.c +++ b/packet-rtcp.c @@ -1,6 +1,6 @@ /* packet-rtcp.c * - * $Id: packet-rtcp.c,v 1.17 2001/06/20 04:45:51 guy Exp $ + * $Id: packet-rtcp.c,v 1.18 2001/07/03 04:56:45 guy Exp $ * * Routines for RTCP dissection * RTCP = Real-time Transport Control Protocol @@ -248,14 +248,14 @@ dissect_rtcp_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; } } -- cgit v1.2.3