aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tftp.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-11-10 09:22:46 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-11-10 09:22:46 +0000
commit0f90ee62d47a38b74d78585c120eb3c00e986bc1 (patch)
tree1b767b183b5b10ce6d4dd5a5b2d51e4568c4956e /packet-tftp.c
parenta0086d5e0e534d0282e2017a9218f6a850c09e90 (diff)
Don't use "pi" in the TFTP dissector, now that it's a new-style
dissector; use "pinfo" instead. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2600 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-tftp.c')
-rw-r--r--packet-tftp.c10
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);
}