From d939a63ae28c17f97ad6cc6bafb1e1ad7169272b Mon Sep 17 00:00:00 2001 From: guy 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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3645 f5534014-38df-0310-8fa8-9805f1628bb7 --- packet-rtp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packet-rtp.c') 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 * - * $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 @@ -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; } } -- cgit v1.2.3