diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-11-10 09:22:46 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-11-10 09:22:46 +0000 |
commit | ac44678031f22a438e1c07247fe456bb67a425fe (patch) | |
tree | 1b767b183b5b10ce6d4dd5a5b2d51e4568c4956e /packet-tftp.c | |
parent | 1d2bed97140128a7b0233ca655469424e3f31d94 (diff) |
Don't use "pi" in the TFTP dissector, now that it's a new-style
dissector; use "pinfo" instead.
svn path=/trunk/; revision=2600
Diffstat (limited to 'packet-tftp.c')
-rw-r--r-- | packet-tftp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packet-tftp.c b/packet-tftp.c index 0528ea9db2..fff4597916 100644 --- a/packet-tftp.c +++ b/packet-tftp.c @@ -5,7 +5,7 @@ * Craig Newell <CraigN@cheque.uq.edu.au> * RFC2347 TFTP Option Extension * - * $Id: packet-tftp.c,v 1.15 2000/11/10 09:17:10 guy Exp $ + * $Id: packet-tftp.c,v 1.16 2000/11/10 09:22:46 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -115,11 +115,11 @@ dissect_tftp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) * as a dissector. */ if (pinfo->destport == UDP_PORT_TFTP) { - conversation = find_conversation(&pi.src, &pi.dst, PT_UDP, - pi.srcport, 0, NO_DST_PORT); + conversation = find_conversation(&pinfo->src, &pinfo->dst, PT_UDP, + pinfo->srcport, 0, NO_DST_PORT); if (conversation == NULL) { - conversation = conversation_new(&pi.src, &pi.dst, PT_UDP, - pi.srcport, 0, NULL, + conversation = conversation_new(&pinfo->src, &pinfo->dst, PT_UDP, + pinfo->srcport, 0, NULL, NO_DST_PORT); conversation_set_dissector(conversation, dissect_tftp); } |