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-rtcp.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-rtcp.c')
-rw-r--r-- | packet-rtcp.c | 10 |
1 files changed, 5 insertions, 5 deletions
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; } } |